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.001461/0.001461, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001753/0.001753, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.51/1.51, allocations: 207.6 MB / 236 MB, free: 10 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.001813/0.001813, allocations: 51.92 kB / 348.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02921/0.3194, allocations: 24.89 MB / 422.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.3234, allocations: 2.518 MB / 425.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.3236, allocations: 8.438 kB / 425.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.3242, allocations: 161.8 kB / 425.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007182/0.3249, allocations: 332.6 kB / 425.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3276, allocations: 1.004 MB / 426.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3289, allocations: 0.9128 MB / 427.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3292, allocations: 82.17 kB / 427.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/0.3343, allocations: 2.784 MB / 430.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.3349, allocations: 297.4 kB / 430.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.335, allocations: 29.78 kB / 430.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.3357, allocations: 259.8 kB / 430.9 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.3359, allocations: 98.84 kB / 431 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.3361, allocations: 183.9 kB / 431.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.337, allocations: 0.5779 MB / 431.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.337, allocations: 0 / 431.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.337, allocations: 0 / 431.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.337, allocations: 0 / 431.8 MB, free: 1.195 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.000964/0.3379, allocations: 0.5713 MB / 432.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.338, allocations: 15.98 kB / 432.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.3383, allocations: 48.73 kB / 432.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.3388, allocations: 241.8 kB / 432.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.3389, allocations: 21.03 kB / 432.6 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.3389, allocations: 24.38 kB / 432.7 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.3395, allocations: 335.6 kB / 433 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3395, allocations: 4 kB / 433 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3395, allocations: 12 kB / 433 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3395, allocations: 8 kB / 433 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3399, allocations: 193.5 kB / 433.2 MB, free: 15.64 MB / 350.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.002092/0.342, allocations: 1.633 MB / 434.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.3423, allocations: 174.6 kB / 435 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3424, allocations: 76.77 kB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.3425, allocations: 19.98 kB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.3426, allocations: 42.56 kB / 435.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.542e-06/0.3426, allocations: 0 / 435.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002501/0.3451, allocations: 0.8801 MB / 436 MB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3451, allocations: 63.34 kB / 436.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.3454, allocations: 253.9 kB / 436.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3454, allocations: 33.7 kB / 436.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3456, allocations: 192.5 kB / 436.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3457, allocations: 107 kB / 436.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3458, allocations: 70.06 kB / 436.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.346, allocations: 342.7 kB / 437.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3461, allocations: 92.7 kB / 437.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3464, allocations: 166.8 kB / 437.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.3468, allocations: 277.2 kB / 437.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3468, allocations: 4 kB / 437.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006472/0.3474, allocations: 377.7 kB / 438 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3474, allocations: 8 kB / 438 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3474, allocations: 4 kB / 438 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.3479, allocations: 93.11 kB / 438.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3481, allocations: 71.83 kB / 438.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006271/0.3488, allocations: 0.6538 MB / 438.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3489, allocations: 8 kB / 438.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.349, allocations: 16 kB / 438.8 MB, free: 9.711 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.0001983/0.3492, allocations: 153.8 kB / 439 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.3493, allocations: 39.75 kB / 439 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.35, allocations: 365.8 kB / 439.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.35, allocations: 4 kB / 439.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.35, allocations: 0 / 439.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005952/0.3506, allocations: 0.5515 MB / 439.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3517, allocations: 0.7181 MB / 440.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3517, allocations: 4 kB / 440.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3519, allocations: 27.98 kB / 440.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.3524, allocations: 108.6 kB / 440.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3524, allocations: 8.062 kB / 440.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005867/0.353, allocations: 0.6382 MB / 441.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.353, allocations: 0 / 441.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.3538, allocations: 487.3 kB / 441.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.3539, allocations: 31.81 kB / 441.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.3539, allocations: 4 kB / 441.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3541, allocations: 11.98 kB / 441.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3542, allocations: 15.97 kB / 442 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.3542, allocations: 15.98 kB / 442 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.3544, allocations: 197.2 kB / 442.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3544, allocations: 4.062 kB / 442.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.3549, allocations: 111.9 kB / 442.3 MB, free: 6.012 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.0002673/0.3551, allocations: 139 kB / 442.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.3557, allocations: 243.3 kB / 442.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.3557, allocations: 4.625 kB / 442.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.356, allocations: 115.8 kB / 442.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.3569, allocations: 176.8 kB / 442.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3582, allocations: 0.6615 MB / 443.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3587, allocations: 0.7645 MB / 444.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3588, allocations: 35.42 kB / 444.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3588, allocations: 4 kB / 444.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of Templates: time 0.01113/0.3699, allocations: 6.474 MB / 450.9 MB, free: 13.32 MB / 366.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: 8.124199230922386]