Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001472/0.001472, allocations: 105 kB / 20.44 MB, free: 1.504 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.001632/0.001632, allocations: 217.1 kB / 23.76 MB, free: 4.727 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.268/1.268, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [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.002135/0.002135, allocations: 75.89 kB / 468.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1104, allocations: 61.04 MB / 0.5174 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0222/0.1326, allocations: 20.59 MB / 0.5375 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2094/0.342, allocations: 4.324 MB / 0.5417 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.3426, allocations: 31.12 kB / 0.5417 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.3434, allocations: 319.5 kB / 0.5421 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.3453, allocations: 0.8866 MB / 0.5429 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.3475, allocations: 0.9233 MB / 0.5438 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.3501, allocations: 1.817 MB / 0.5456 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/0.3508, allocations: 396.9 kB / 0.546 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.3526, allocations: 0.9556 MB / 0.5469 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.3536, allocations: 0.6783 MB / 0.5476 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3537, allocations: 59.78 kB / 0.5476 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008783/0.3546, allocations: 320.1 kB / 0.5479 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.3549, allocations: 267.5 kB / 0.5482 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.3553, allocations: 391.9 kB / 0.5486 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3568, allocations: 1.1 MB / 0.5496 GB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3568, allocations: 1.312 kB / 0.5496 GB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3568, allocations: 0 / 0.5496 GB, free: 9.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3568, allocations: 0 / 0.5496 GB, free: 9.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002109/0.3589, allocations: 0.9938 MB / 0.5506 GB, free: 8.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.359, allocations: 9.219 kB / 0.5506 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.3593, allocations: 92.19 kB / 0.5507 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.3602, allocations: 476.7 kB / 0.5512 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3603, allocations: 154.1 kB / 0.5513 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.3604, allocations: 55.64 kB / 0.5514 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3615, allocations: 0.8186 MB / 0.5522 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3616, allocations: 6.266 kB / 0.5522 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.3616, allocations: 21.69 kB / 0.5522 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.3617, allocations: 45.8 kB / 0.5522 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009535/0.3626, allocations: 0.6428 MB / 0.5529 GB, free: 8.285 MB / 414.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.004181/0.3668, allocations: 4.189 MB / 0.5569 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.3676, allocations: 400.2 kB / 0.5573 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.3679, allocations: 194.7 kB / 0.5575 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.3682, allocations: 52.39 kB / 0.5576 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3682, allocations: 42.58 kB / 0.5576 GB, free: 5.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.3682, allocations: 0 / 0.5576 GB, free: 5.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.002867/0.3711, allocations: 1.463 MB / 0.559 GB, free: 4.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3711, allocations: 134.6 kB / 0.5592 GB, free: 4.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.3717, allocations: 0.5682 MB / 0.5597 GB, free: 4.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.3718, allocations: 33.02 kB / 0.5597 GB, free: 4.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.372, allocations: 366.9 kB / 0.5601 GB, free: 3.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3721, allocations: 169.7 kB / 0.5603 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.3723, allocations: 137.7 kB / 0.5604 GB, free: 3.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.3724, allocations: 383.1 kB / 0.5608 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3727, allocations: 227.3 kB / 0.561 GB, free: 3.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.3732, allocations: 0.5258 MB / 0.5615 GB, free: 2.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.3741, allocations: 0.7741 MB / 0.5622 GB, free: 2.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3741, allocations: 2.688 kB / 0.5622 GB, free: 2.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001664/0.3757, allocations: 0.9334 MB / 0.5632 GB, free: 1.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3758, allocations: 13.91 kB / 0.5632 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3758, allocations: 10.28 kB / 0.5632 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.3768, allocations: 267.2 kB / 0.5634 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.3772, allocations: 124.6 kB / 0.5636 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007466/0.378, allocations: 0.8707 MB / 0.5644 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.3785, allocations: 25.11 kB / 0.5644 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.3785, allocations: 37.86 kB / 0.5645 GB, free: 0.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.3788, allocations: 240.2 kB / 0.5647 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.379, allocations: 68.23 kB / 0.5648 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3802, allocations: 0.7245 MB / 0.5655 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3802, allocations: 5.812 kB / 0.5655 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3802, allocations: 0 / 0.5655 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3802, allocations: 3.781 kB / 0.5655 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.3823, allocations: 1.369 MB / 0.5668 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3823, allocations: 1.531 kB / 0.5668 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/0.3833, allocations: 204.2 kB / 0.567 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.3835, allocations: 54.03 kB / 0.5671 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3836, allocations: 16.69 kB / 0.5671 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.3859, allocations: 2.779 MB / 0.5698 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3859, allocations: 5.938 kB / 0.5698 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3875, allocations: 1.015 MB / 0.5708 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.3878, allocations: 129.8 kB / 0.5709 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.3879, allocations: 12.25 kB / 0.5709 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3883, allocations: 14.84 kB / 0.5709 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3883, allocations: 49.19 kB / 0.571 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3884, allocations: 25.22 kB / 0.571 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.3889, allocations: 418.4 kB / 0.5714 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3889, allocations: 0 / 0.5714 GB, free: 12.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007847/0.3897, allocations: 208.2 kB / 0.5716 GB, free: 12.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004939/0.3902, allocations: 233.4 kB / 0.5718 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3913, allocations: 0.5802 MB / 0.5724 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3913, allocations: 1.688 kB / 0.5724 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.3924, allocations: 465.1 kB / 0.5728 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.3939, allocations: 374.4 kB / 0.5732 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.3962, allocations: 1.466 MB / 0.5746 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.3967, allocations: 0.9354 MB / 0.5755 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3969, allocations: 69.94 kB / 0.5756 GB, free: 9.84 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3969, allocations: 0 / 0.5756 GB, free: 9.84 MB / 430.1 MB Notification: Performance of Templates: time 0.02162/0.4185, allocations: 15.66 MB / 0.5909 GB, free: 1.832 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.888725433964282]