Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 96.14 kB / 15.87 MB, free: 16 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.001854/0.001854, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.727/1.727, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3616/0.3616, allocations: 43.5 MB / 313.5 MB, free: 8.258 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.001615/0.001615, allocations: 67.84 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1636, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008114/0.1717, allocations: 5.009 MB / 444.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.1777, allocations: 4.579 MB / 449.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.178, allocations: 0 / 449.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.1785, allocations: 43.73 kB / 449.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.1804, allocations: 0.6024 MB / 450 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.1808, allocations: 163.7 kB / 450.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.1815, allocations: 438.1 kB / 450.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.1815, allocations: 9.688 kB / 450.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1818, allocations: 151.4 kB / 450.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.182, allocations: 135.4 kB / 450.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.182, allocations: 8 kB / 450.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1831, allocations: 359.5 kB / 451.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1832, allocations: 39.83 kB / 451.3 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1834, allocations: 107.5 kB / 451.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.1841, allocations: 419.2 kB / 451.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1841, allocations: 0 / 451.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1841, allocations: 0 / 451.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1841, allocations: 0 / 451.8 MB, free: 2.535 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.001068/0.1852, allocations: 0.5853 MB / 452.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1852, allocations: 8.031 kB / 452.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1854, allocations: 32.64 kB / 452.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1857, allocations: 224.1 kB / 452.7 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1859, allocations: 123.9 kB / 452.8 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1859, allocations: 24.38 kB / 452.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.1864, allocations: 331.6 kB / 453.1 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1864, allocations: 3.984 kB / 453.1 MB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.1865, allocations: 8 kB / 453.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.1865, allocations: 4 kB / 453.2 MB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.1873, allocations: 0.7507 MB / 453.9 MB, free: 328 kB / 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.2864/0.4737, allocations: 1.246 MB / 455.2 MB, free: 48.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.4741, allocations: 143.5 kB / 455.3 MB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4742, allocations: 76.12 kB / 455.4 MB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/0.4761, allocations: 2.659 MB / 458 MB, free: 46.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4762, allocations: 40.45 kB / 458.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.4762, allocations: 0 / 458.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007388/0.4769, allocations: 220.9 kB / 458.3 MB, free: 45.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.477, allocations: 53.94 kB / 458.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4772, allocations: 206.1 kB / 458.5 MB, free: 45.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4772, allocations: 31.77 kB / 458.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.4773, allocations: 206.5 kB / 458.8 MB, free: 45.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.4774, allocations: 56.75 kB / 458.8 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4775, allocations: 84.2 kB / 458.9 MB, free: 45.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4776, allocations: 331 kB / 459.2 MB, free: 45.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.4777, allocations: 50.56 kB / 459.3 MB, free: 45.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4779, allocations: 321.7 kB / 459.6 MB, free: 44.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.4782, allocations: 423.8 kB / 460 MB, free: 44.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4782, allocations: 4.531 kB / 460 MB, free: 44.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005014/0.4787, allocations: 376.2 kB / 460.4 MB, free: 44.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4788, allocations: 11.5 kB / 460.4 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4788, allocations: 9.078 kB / 460.4 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.4788, allocations: 16.7 kB / 460.4 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.4791, allocations: 109.4 kB / 460.5 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.4792, allocations: 20 kB / 460.5 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4794, allocations: 19.03 kB / 460.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.4794, allocations: 28 kB / 460.6 MB, free: 44.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4795, allocations: 153.5 kB / 460.7 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.4796, allocations: 27.25 kB / 460.8 MB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.4799, allocations: 162.3 kB / 460.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4799, allocations: 4.391 kB / 460.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4799, allocations: 0 / 460.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4799, allocations: 2.812 kB / 460.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.4804, allocations: 426.2 kB / 461.3 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4804, allocations: 3 kB / 461.4 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4805, allocations: 36 kB / 461.4 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4805, allocations: 0 / 461.4 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4806, allocations: 4.156 kB / 461.4 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4806, allocations: 4.031 kB / 461.4 MB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4806, allocations: 1.219 kB / 461.4 MB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.4808, allocations: 227.8 kB / 461.6 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.4809, allocations: 97.89 kB / 461.7 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.4809, allocations: 7.562 kB / 461.7 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4811, allocations: 4.844 kB / 461.7 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4812, allocations: 13.11 kB / 461.7 MB, free: 43.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4812, allocations: 10.48 kB / 461.7 MB, free: 43.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4813, allocations: 149 kB / 461.9 MB, free: 43.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4813, allocations: 0 / 461.9 MB, free: 43.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.4818, allocations: 106.6 kB / 462 MB, free: 43.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004526/0.4823, allocations: 169.7 kB / 462.2 MB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.4827, allocations: 176.2 kB / 462.3 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4827, allocations: 2.688 kB / 462.3 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.4827, allocations: 31.95 kB / 462.4 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.4834, allocations: 60.62 kB / 462.4 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4846, allocations: 0.57 MB / 463 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.4848, allocations: 0.7332 MB / 463.7 MB, free: 42.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.485, allocations: 58.39 kB / 463.8 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.4851, allocations: 31 kB / 463.8 MB, free: 42.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4851, allocations: 2.844 kB / 463.8 MB, free: 42.52 MB / 382.1 MB Notification: Performance of Templates: time 0.006619/0.4917, allocations: 3.314 MB / 467.1 MB, free: 42.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches