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.001927/0.001927, allocations: 108.7 kB / 21.93 MB, free: 5.215 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.002317/0.002317, allocations: 214 kB / 25.22 MB, free: 3.027 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.415/1.415, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001878/0.001878, allocations: 48.34 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2913, allocations: 49.15 MB / 397.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02778/0.3191, allocations: 22.38 MB / 420 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.3233, allocations: 2.329 MB / 422.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.3238, allocations: 4.625 kB / 422.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.3246, allocations: 163.1 kB / 422.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3256, allocations: 330.2 kB / 422.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.3286, allocations: 0.9974 MB / 423.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.3301, allocations: 0.9164 MB / 424.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.3304, allocations: 74.89 kB / 424.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.3359, allocations: 2.782 MB / 427.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007304/0.3367, allocations: 281.1 kB / 427.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3368, allocations: 32 kB / 427.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.3377, allocations: 243.7 kB / 428.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.3379, allocations: 91.72 kB / 428.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.3382, allocations: 171.4 kB / 428.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3393, allocations: 0.5789 MB / 429 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3393, allocations: 8 kB / 429 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3393, allocations: 0 / 429 MB, free: 3.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.3393, allocations: 0 / 429 MB, free: 3.77 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.001209/0.3405, allocations: 0.5596 MB / 429.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3406, allocations: 11.98 kB / 429.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.341, allocations: 48.73 kB / 429.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.3416, allocations: 253.8 kB / 429.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3416, allocations: 21.02 kB / 429.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.3417, allocations: 24.38 kB / 429.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.3424, allocations: 0.5575 MB / 430.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3424, allocations: 3.938 kB / 430.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.3425, allocations: 12 kB / 430.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3425, allocations: 8 kB / 430.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.3429, allocations: 189.5 kB / 430.7 MB, free: 1.941 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.00207/0.3449, allocations: 1.399 MB / 432.1 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.3453, allocations: 168 kB / 432.2 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3454, allocations: 72.83 kB / 432.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.3455, allocations: 19.98 kB / 432.3 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3455, allocations: 46.44 kB / 432.4 MB, free: 160 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.013e-06/0.3455, allocations: 3.938 kB / 432.4 MB, free: 156 kB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002625/0.3482, allocations: 0.8645 MB / 433.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.3482, allocations: 55.34 kB / 433.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.3486, allocations: 248.8 kB / 433.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.3486, allocations: 33.7 kB / 433.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3488, allocations: 188.4 kB / 433.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3489, allocations: 107.1 kB / 433.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.349, allocations: 74.02 kB / 433.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.3492, allocations: 342.8 kB / 434.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3494, allocations: 80.72 kB / 434.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3496, allocations: 174.8 kB / 434.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.35, allocations: 273.2 kB / 434.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.35, allocations: 3.938 kB / 434.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006783/0.3507, allocations: 374 kB / 435.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3507, allocations: 4 kB / 435.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3508, allocations: 4 kB / 435.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.3512, allocations: 96.72 kB / 435.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3516, allocations: 67.91 kB / 435.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000777/0.3524, allocations: 0.6577 MB / 436 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3526, allocations: 8 kB / 436 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.3527, allocations: 20.19 kB / 436 MB, free: 12.33 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.0002104/0.3529, allocations: 153.8 kB / 436.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.353, allocations: 31.8 kB / 436.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.3537, allocations: 372.9 kB / 436.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3537, allocations: 7.984 kB / 436.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3538, allocations: 0 / 436.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006941/0.3544, allocations: 0.5475 MB / 437.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3557, allocations: 0.6446 MB / 437.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3557, allocations: 0 / 437.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3558, allocations: 39.92 kB / 437.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.3563, allocations: 100.7 kB / 437.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3564, allocations: 8 kB / 437.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000728/0.3571, allocations: 0.6304 MB / 438.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3571, allocations: 12.14 kB / 438.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.3579, allocations: 473.7 kB / 439 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.358, allocations: 27.78 kB / 439 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.3581, allocations: 8 kB / 439 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.3583, allocations: 11.94 kB / 439 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3584, allocations: 23.89 kB / 439.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.3584, allocations: 12 kB / 439.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3586, allocations: 180.5 kB / 439.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 64 / 439.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.3591, allocations: 111.9 kB / 439.4 MB, free: 8.746 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.0003073/0.3594, allocations: 139.1 kB / 439.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.36, allocations: 237 kB / 439.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/0.36, allocations: 8 kB / 439.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3603, allocations: 116.6 kB / 439.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.3612, allocations: 144.1 kB / 440 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3626, allocations: 0.6655 MB / 440.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.3628, allocations: 151.2 kB / 440.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.3629, allocations: 31.44 kB / 440.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3629, allocations: 0 / 440.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Templates: time 0.01235/0.3753, allocations: 6.311 MB / 447.1 MB, free: 0.875 MB / 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/jenkins1/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/jenkins1/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: 7.999990582931787]