Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.91 kB / 347.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3203, allocations: 49.15 MB / 396.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004135/0.3245, allocations: 3.471 MB / 400.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3255, allocations: 0.8009 MB / 401.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3257, allocations: 13.28 kB / 401.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3259, allocations: 70 kB / 401.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.3261, allocations: 133.3 kB / 401.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3264, allocations: 110.8 kB / 401.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.3269, allocations: 0.505 MB / 401.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.3271, allocations: 104.7 kB / 402.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3273, allocations: 191 kB / 402.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3275, allocations: 212.6 kB / 402.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.3276, allocations: 39.38 kB / 402.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.3277, allocations: 40.28 kB / 402.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3278, allocations: 85.81 kB / 402.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.3281, allocations: 226.4 kB / 402.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.3289, allocations: 498.6 kB / 403.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3289, allocations: 1.406 kB / 403.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3289, allocations: 0 / 403.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3289, allocations: 0 / 403.3 MB, free: 5.332 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001254/0.3302, allocations: 0.6564 MB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3302, allocations: 9.625 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.3303, allocations: 48.41 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.3307, allocations: 256.6 kB / 404.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3307, allocations: 26.58 kB / 404.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3307, allocations: 27.97 kB / 404.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.3313, allocations: 365 kB / 404.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3314, allocations: 2.016 kB / 404.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3314, allocations: 14.78 kB / 404.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3314, allocations: 11.84 kB / 404.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.332, allocations: 268.5 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3338, allocations: 1.365 MB / 406.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3341, allocations: 203.8 kB / 406.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.3343, allocations: 97.16 kB / 406.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3344, allocations: 2.344 kB / 406.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3344, allocations: 37.91 kB / 406.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.3344, allocations: 0 / 406.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001344/0.3357, allocations: 480.4 kB / 407.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3358, allocations: 54.16 kB / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.3361, allocations: 308.7 kB / 407.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3361, allocations: 31.23 kB / 407.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3362, allocations: 212.2 kB / 407.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.3363, allocations: 79.81 kB / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.3364, allocations: 50.67 kB / 407.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.3365, allocations: 339.2 kB / 408.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3367, allocations: 81.56 kB / 408.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3369, allocations: 119.4 kB / 408.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.3372, allocations: 201.9 kB / 408.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3372, allocations: 5.219 kB / 408.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006886/0.3379, allocations: 351.6 kB / 408.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3379, allocations: 4.438 kB / 408.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3379, allocations: 1.344 kB / 408.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.3384, allocations: 118.8 kB / 409.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3385, allocations: 36.91 kB / 409.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/0.3424, allocations: 4.667 MB / 413.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3426, allocations: 23.36 kB / 413.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3427, allocations: 10.91 kB / 413.8 MB, free: 13.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.3428, allocations: 145.9 kB / 413.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3429, allocations: 37.61 kB / 414 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/0.343, allocations: 41.95 kB / 414 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.343, allocations: 2.938 kB / 414 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.343, allocations: 0.8906 kB / 414 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.343, allocations: 2.562 kB / 414 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.3435, allocations: 348.6 kB / 414.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3435, allocations: 4.969 kB / 414.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3436, allocations: 28.42 kB / 414.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.344, allocations: 116.3 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.344, allocations: 9.984 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.3483, allocations: 4.653 MB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3483, allocations: 1.094 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.349, allocations: 398.2 kB / 419.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3491, allocations: 51.53 kB / 419.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.3492, allocations: 6.188 kB / 419.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.3494, allocations: 24.31 kB / 419.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3495, allocations: 31.48 kB / 419.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.3496, allocations: 8.781 kB / 419.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.3498, allocations: 218.2 kB / 419.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 419.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007013/0.3505, allocations: 118.8 kB / 420 MB, free: 7.578 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001253/0.3506, allocations: 103.9 kB / 420.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009767/0.3516, allocations: 0.5622 MB / 420.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3516, allocations: 0 / 420.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3522, allocations: 479.2 kB / 421.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3526, allocations: 57.47 kB / 421.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3539, allocations: 0.6312 MB / 421.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.3544, allocations: 0.7957 MB / 422.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3546, allocations: 26.02 kB / 422.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.3546, allocations: 22.61 kB / 422.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3546, allocations: 0 / 422.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of Templates: time 0.01433/0.369, allocations: 5.695 MB / 428.4 MB, free: 2.465 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038325248053297]