Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 104.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4145/0.4145, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.83 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3368, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02634/0.3632, allocations: 28.61 MB / 0.5431 GB, free: 18.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.3657, allocations: 3.033 MB / 0.5461 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.3658, allocations: 6.781 kB / 0.5461 GB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3661, allocations: 43.83 kB / 0.5461 GB, free: 15.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.3676, allocations: 0.6486 MB / 0.5467 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3679, allocations: 132.2 kB / 0.5469 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.3684, allocations: 440 kB / 0.5473 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.3685, allocations: 10.91 kB / 0.5473 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03841/0.4069, allocations: 14.46 MB / 0.5614 GB, free: 7.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.4074, allocations: 154.8 kB / 0.5616 GB, free: 7.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.4075, allocations: 6 kB / 0.5616 GB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008732/0.4162, allocations: 3.431 MB / 0.5649 GB, free: 5.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4163, allocations: 47.88 kB / 0.565 GB, free: 5.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4165, allocations: 106.2 kB / 0.5651 GB, free: 5.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.4176, allocations: 467.5 kB / 0.5655 GB, free: 4.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4176, allocations: 0 / 0.5655 GB, free: 4.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4177, allocations: 4 kB / 0.5655 GB, free: 4.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4177, allocations: 1.156 kB / 0.5655 GB, free: 4.961 MB / 378.7 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.4187, allocations: 0.5972 MB / 0.5661 GB, free: 4.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4188, allocations: 9.344 kB / 0.5661 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.4189, allocations: 32.88 kB / 0.5661 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4191, allocations: 220.1 kB / 0.5663 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.4192, allocations: 131.5 kB / 0.5665 GB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.4193, allocations: 27.19 kB / 0.5665 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.4197, allocations: 322.3 kB / 0.5668 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4198, allocations: 5.469 kB / 0.5668 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4198, allocations: 6.406 kB / 0.5668 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4198, allocations: 10.59 kB / 0.5668 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.4207, allocations: 0.7314 MB / 0.5675 GB, free: 3.453 MB / 378.7 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.001169/0.4219, allocations: 1.301 MB / 0.5688 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4222, allocations: 170.7 kB / 0.569 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4223, allocations: 81.48 kB / 0.569 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.4244, allocations: 2.813 MB / 0.5718 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4245, allocations: 34.56 kB / 0.5718 GB, free: 14.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.975e-06/0.4245, allocations: 4 kB / 0.5718 GB, free: 14.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002406/0.4247, allocations: 125.2 kB / 0.572 GB, free: 14.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4248, allocations: 51.41 kB / 0.572 GB, free: 14.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.425, allocations: 219.7 kB / 0.5722 GB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.425, allocations: 29.7 kB / 0.5722 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4251, allocations: 218.5 kB / 0.5724 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4252, allocations: 43.53 kB / 0.5725 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.4253, allocations: 85.94 kB / 0.5726 GB, free: 13.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4254, allocations: 326.8 kB / 0.5729 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.4255, allocations: 52.83 kB / 0.5729 GB, free: 13.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4258, allocations: 343.2 kB / 0.5733 GB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.4263, allocations: 448.5 kB / 0.5737 GB, free: 12.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4263, allocations: 4 kB / 0.5737 GB, free: 12.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005248/0.4268, allocations: 377.1 kB / 0.5741 GB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4269, allocations: 12 kB / 0.5741 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4269, allocations: 8 kB / 0.5741 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.4269, allocations: 23.92 kB / 0.5741 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4271, allocations: 92.56 kB / 0.5742 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.4272, allocations: 27.92 kB / 0.5742 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.4274, allocations: 59.38 kB / 0.5743 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.4274, allocations: 28 kB / 0.5743 GB, free: 11.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001187/0.4276, allocations: 150.5 kB / 0.5744 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.4276, allocations: 19.81 kB / 0.5745 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.4279, allocations: 148.8 kB / 0.5746 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4279, allocations: 0 / 0.5746 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4279, allocations: 0 / 0.5746 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4279, allocations: 0 / 0.5746 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.4284, allocations: 412.9 kB / 0.575 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4284, allocations: 3.938 kB / 0.575 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.4284, allocations: 15.94 kB / 0.575 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4284, allocations: 0 / 0.575 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4285, allocations: 8 kB / 0.575 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4285, allocations: 0 / 0.575 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4285, allocations: 4 kB / 0.575 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.429, allocations: 0.7925 MB / 0.5758 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.4291, allocations: 100.8 kB / 0.5759 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4291, allocations: 4 kB / 0.5759 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4292, allocations: 7.984 kB / 0.5759 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.4293, allocations: 15.94 kB / 0.5759 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4293, allocations: 8.062 kB / 0.5759 GB, free: 9.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.4294, allocations: 152.5 kB / 0.5761 GB, free: 9.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4294, allocations: 0 / 0.5761 GB, free: 9.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005618/0.43, allocations: 91.98 kB / 0.5762 GB, free: 9.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003591/0.4304, allocations: 151.1 kB / 0.5763 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.4307, allocations: 173.8 kB / 0.5765 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.4307, allocations: 4 kB / 0.5765 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.4308, allocations: 20.55 kB / 0.5765 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.4312, allocations: 47.52 kB / 0.5765 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4328, allocations: 0.7343 MB / 0.5773 GB, free: 8.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.4332, allocations: 0.7362 MB / 0.578 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.4335, allocations: 54.89 kB / 0.578 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.4335, allocations: 27.44 kB / 0.578 GB, free: 7.582 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4335, allocations: 0 / 0.578 GB, free: 7.582 MB / 394.7 MB Notification: Performance of Templates: time 0.006971/0.4405, allocations: 3.076 MB / 0.5811 GB, free: 4.527 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches