Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001736/0.001736, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.002088/0.002088, allocations: 215.3 kB / 24.48 MB, free: 3.875 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.593/1.593, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [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.002018/0.002018, allocations: 57.8 kB / 347.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 49.16 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02754/0.3253, allocations: 22.39 MB / 419.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.3296, allocations: 2.313 MB / 421.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.33, allocations: 8.281 kB / 421.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.3307, allocations: 168.4 kB / 421.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009618/0.3317, allocations: 325.4 kB / 422.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.3349, allocations: 1.009 MB / 423.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3362, allocations: 0.9055 MB / 424 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3364, allocations: 81.75 kB / 424.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.342, allocations: 2.778 MB / 426.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.3427, allocations: 288 kB / 427.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3428, allocations: 28 kB / 427.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008172/0.3436, allocations: 243.7 kB / 427.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3437, allocations: 95.72 kB / 427.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.344, allocations: 167.4 kB / 427.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009365/0.345, allocations: 0.5837 MB / 428.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.345, allocations: 0 / 428.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.345, allocations: 0 / 428.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.345, allocations: 0 / 428.2 MB, free: 3.781 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001024/0.346, allocations: 0.5635 MB / 428.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3461, allocations: 11.98 kB / 428.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.3464, allocations: 52.73 kB / 428.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.3469, allocations: 237.8 kB / 429.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.347, allocations: 21.03 kB / 429.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.347, allocations: 28.38 kB / 429.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.3478, allocations: 0.5653 MB / 429.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3478, allocations: 0 / 429.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3478, allocations: 12 kB / 429.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3478, allocations: 11.94 kB / 429.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.3482, allocations: 189.5 kB / 429.9 MB, free: 1.953 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.3502, allocations: 1.395 MB / 431.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.3505, allocations: 174.5 kB / 431.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3507, allocations: 72.83 kB / 431.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/0.3507, allocations: 23.92 kB / 431.6 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3508, allocations: 38.5 kB / 431.6 MB, free: 172 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.3508, allocations: 0 / 431.6 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002721/0.3535, allocations: 0.8723 MB / 432.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.3536, allocations: 55.41 kB / 432.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3539, allocations: 244.8 kB / 432.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3539, allocations: 29.7 kB / 432.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3541, allocations: 184.4 kB / 433 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3542, allocations: 118.9 kB / 433.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3543, allocations: 74.02 kB / 433.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3545, allocations: 346.8 kB / 433.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3547, allocations: 80.72 kB / 433.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3549, allocations: 170.9 kB / 433.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.3554, allocations: 273.2 kB / 434 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3554, allocations: 4 kB / 434 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006902/0.3561, allocations: 369.8 kB / 434.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3561, allocations: 4 kB / 434.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3561, allocations: 4.312 kB / 434.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.3566, allocations: 100.7 kB / 434.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3568, allocations: 67.91 kB / 434.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007107/0.3575, allocations: 0.6538 MB / 435.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3577, allocations: 8 kB / 435.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.3578, allocations: 20 kB / 435.2 MB, free: 12.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.358, allocations: 149.8 kB / 435.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.358, allocations: 27.81 kB / 435.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007368/0.3588, allocations: 377 kB / 435.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3588, allocations: 4 kB / 435.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3588, allocations: 0 / 435.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006401/0.3594, allocations: 0.5553 MB / 436.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3606, allocations: 0.6329 MB / 437 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3606, allocations: 0 / 437 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3607, allocations: 35.97 kB / 437 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/0.3612, allocations: 112.7 kB / 437.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3612, allocations: 8 kB / 437.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.3618, allocations: 0.6343 MB / 437.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3618, allocations: 4 kB / 437.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.3626, allocations: 481.6 kB / 438.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.3627, allocations: 31.88 kB / 438.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.3627, allocations: 8 kB / 438.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.363, allocations: 8 kB / 438.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.363, allocations: 19.97 kB / 438.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.363, allocations: 11.98 kB / 438.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3632, allocations: 180.5 kB / 438.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3632, allocations: 0 / 438.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.3637, allocations: 111.9 kB / 438.6 MB, free: 8.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002883/0.364, allocations: 143.1 kB / 438.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.3645, allocations: 241 kB / 439 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3645, allocations: 0 / 439 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3648, allocations: 115.9 kB / 439.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.3657, allocations: 148.8 kB / 439.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3669, allocations: 0.6209 MB / 439.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3671, allocations: 163.2 kB / 440 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.3674, allocations: 62.86 kB / 440.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.3675, allocations: 27.44 kB / 440.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3675, allocations: 0 / 440.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of Templates: time 0.01375/0.3812, allocations: 6.936 MB / 447 MB, free: 248 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 4.932768028229475]