Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3927/0.3927, allocations: 43.54 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005396, allocations: 15.98 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.148, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004222/0.1523, allocations: 3.463 MB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.1562, allocations: 3.469 MB / 449.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1563, allocations: 7.938 kB / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.1566, allocations: 35.8 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.158, allocations: 0.592 MB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1583, allocations: 123.8 kB / 450.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.1588, allocations: 259.4 kB / 450.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.762e-05/0.1589, allocations: 17.67 kB / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.159, allocations: 127.6 kB / 450.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1593, allocations: 135.6 kB / 451 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1593, allocations: 4 kB / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.1601, allocations: 383.5 kB / 451.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.1602, allocations: 43.8 kB / 451.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.1603, allocations: 65.58 kB / 451.5 MB, free: 4.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.1607, allocations: 295.6 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1607, allocations: 0 / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1608, allocations: 0 / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1608, allocations: 0 / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001102/0.1619, allocations: 0.5461 MB / 452.3 MB, free: 3.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.162, allocations: 8.031 kB / 452.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1621, allocations: 27.72 kB / 452.3 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1624, allocations: 218.8 kB / 452.5 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1625, allocations: 123.4 kB / 452.7 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1626, allocations: 24 kB / 452.7 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.1631, allocations: 331.6 kB / 453 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1631, allocations: 0 / 453 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.1631, allocations: 8 kB / 453 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.1632, allocations: 7.984 kB / 453 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.164, allocations: 0.739 MB / 453.8 MB, free: 1.879 MB / 382.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.001461/0.1654, allocations: 1.358 MB / 455.1 MB, free: 408 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1658, allocations: 159.7 kB / 455.3 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2526/0.4184, allocations: 2.857 MB / 458.1 MB, free: 44.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4185, allocations: 36.34 kB / 458.2 MB, free: 44.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.4185, allocations: 2.469 kB / 458.2 MB, free: 44.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003069/0.4188, allocations: 141.5 kB / 458.3 MB, free: 44.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4188, allocations: 51.41 kB / 458.4 MB, free: 44.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.419, allocations: 205.6 kB / 458.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.419, allocations: 33.05 kB / 458.6 MB, free: 44.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.4191, allocations: 206.1 kB / 458.8 MB, free: 44.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4191, allocations: 62.22 kB / 458.9 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.4191, allocations: 5.5 kB / 458.9 MB, free: 44.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.4192, allocations: 329.6 kB / 459.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.4193, allocations: 46.38 kB / 459.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4194, allocations: 315.9 kB / 459.5 MB, free: 43.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.4195, allocations: 107.4 kB / 459.6 MB, free: 43.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4196, allocations: 2.75 kB / 459.6 MB, free: 43.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004367/0.42, allocations: 370.3 kB / 460 MB, free: 43.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.42, allocations: 14.27 kB / 460 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4201, allocations: 8.844 kB / 460 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.4201, allocations: 15.66 kB / 460 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4203, allocations: 96.92 kB / 460.1 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4203, allocations: 20.03 kB / 460.2 MB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.4206, allocations: 50.25 kB / 460.2 MB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.4206, allocations: 33.92 kB / 460.2 MB, free: 43.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4207, allocations: 154.9 kB / 460.4 MB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.4207, allocations: 26.52 kB / 460.4 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.4211, allocations: 173.3 kB / 460.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4211, allocations: 0 / 460.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4211, allocations: 0.6562 kB / 460.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4211, allocations: 3.438 kB / 460.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.4215, allocations: 452.4 kB / 461 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4215, allocations: 6.531 kB / 461 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.4216, allocations: 19.12 kB / 461.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4216, allocations: 3.797 kB / 461.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4216, allocations: 3.938 kB / 461.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4216, allocations: 7.297 kB / 461.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4216, allocations: 7.375 kB / 461.1 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.4218, allocations: 270.9 kB / 461.3 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.4219, allocations: 112.4 kB / 461.4 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.4219, allocations: 14.48 kB / 461.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4221, allocations: 3.062 kB / 461.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.4221, allocations: 15.81 kB / 461.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4222, allocations: 2.938 kB / 461.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.193e-05/0.4222, allocations: 148.4 kB / 461.6 MB, free: 42.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4223, allocations: 4 kB / 461.6 MB, free: 42.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.4227, allocations: 101.9 kB / 461.7 MB, free: 42.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.423, allocations: 174.4 kB / 461.9 MB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4233, allocations: 171.9 kB / 462.1 MB, free: 42.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4233, allocations: 0 / 462.1 MB, free: 42.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.4233, allocations: 32.88 kB / 462.1 MB, free: 42.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4237, allocations: 45.58 kB / 462.1 MB, free: 42.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.4243, allocations: 0.5219 MB / 462.7 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4245, allocations: 0.7353 MB / 463.4 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.4248, allocations: 54.45 kB / 463.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.4248, allocations: 31.56 kB / 463.5 MB, free: 41.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4248, allocations: 0 / 463.5 MB, free: 41.07 MB / 382.1 MB Notification: Performance of Templates: time 0.005904/0.4307, allocations: 3.23 MB / 466.7 MB, free: 40.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches