Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 114.5 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 195 kB / 17.97 MB, free: 5.027 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.575/1.575, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2437/0.2437, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 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.001495/0.001496, allocations: 67.7 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 57.79 MB / 442 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03215/0.144, allocations: 26.81 MB / 468.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.1473, allocations: 2.963 MB / 471.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.1474, allocations: 0 / 471.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1477, allocations: 55.59 kB / 471.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1493, allocations: 0.7188 MB / 472.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1496, allocations: 147.3 kB / 472.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.1501, allocations: 370.2 kB / 473 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.1502, allocations: 13.62 kB / 473 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03994/0.1902, allocations: 15.46 MB / 488.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.1907, allocations: 147.4 kB / 488.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.1907, allocations: 8 kB / 488.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009417/0.2001, allocations: 3.451 MB / 492.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2003, allocations: 35.89 kB / 492.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.2005, allocations: 107.5 kB / 492.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2015, allocations: 470.8 kB / 492.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2015, allocations: 0 / 492.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2015, allocations: 4 kB / 492.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2015, allocations: 3.938 kB / 492.7 MB, free: 3.172 MB / 366.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.001251/0.2028, allocations: 0.5981 MB / 493.3 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2028, allocations: 11.89 kB / 493.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.203, allocations: 28.73 kB / 493.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2034, allocations: 228 kB / 493.6 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.2036, allocations: 119.9 kB / 493.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.2036, allocations: 28.12 kB / 493.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.2041, allocations: 323.6 kB / 494 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2041, allocations: 4 kB / 494 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2042, allocations: 12 kB / 494 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.2042, allocations: 7.938 kB / 494 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/0.2051, allocations: 0.7429 MB / 494.8 MB, free: 0.9453 MB / 366.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.001618/0.2068, allocations: 1.3 MB / 496.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.2072, allocations: 171.6 kB / 496.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2073, allocations: 85.47 kB / 496.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/0.2098, allocations: 2.802 MB / 499.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2099, allocations: 38.56 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.2099, allocations: 0 / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003278/0.2103, allocations: 121.2 kB / 499.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2103, allocations: 55.41 kB / 499.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2105, allocations: 226.7 kB / 499.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2106, allocations: 25.7 kB / 499.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2107, allocations: 214.6 kB / 499.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2108, allocations: 43.45 kB / 499.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2109, allocations: 85.94 kB / 499.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.211, allocations: 330.8 kB / 0.4885 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.2111, allocations: 44.84 kB / 0.4886 GB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.2115, allocations: 347.2 kB / 0.4889 GB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.212, allocations: 452.5 kB / 0.4893 GB, free: 9.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.212, allocations: 4 kB / 0.4893 GB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005146/0.2125, allocations: 377.4 kB / 0.4897 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2125, allocations: 12 kB / 0.4897 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2126, allocations: 8 kB / 0.4897 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.2126, allocations: 19.94 kB / 0.4897 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2128, allocations: 95.83 kB / 0.4898 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.2129, allocations: 19.94 kB / 0.4898 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2131, allocations: 55.81 kB / 0.4899 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.2131, allocations: 35.98 kB / 0.4899 GB, free: 9 MB / 382.1 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.0001145/0.2133, allocations: 149.6 kB / 0.4901 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.2133, allocations: 19.81 kB / 0.4901 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2136, allocations: 156.8 kB / 0.4902 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.2136, allocations: 7.984 kB / 0.4903 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2136, allocations: 0 / 0.4903 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2136, allocations: 0 / 0.4903 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.2141, allocations: 404.9 kB / 0.4906 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2141, allocations: 0 / 0.4906 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.2142, allocations: 16.03 kB / 0.4907 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2142, allocations: 7.984 kB / 0.4907 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2142, allocations: 4 kB / 0.4907 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2142, allocations: 0 / 0.4907 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2142, allocations: 0 / 0.4907 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2144, allocations: 205.8 kB / 0.4909 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.2145, allocations: 100.8 kB / 0.491 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2145, allocations: 8 kB / 0.491 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2147, allocations: 7.984 kB / 0.491 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.2147, allocations: 4 kB / 0.491 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2147, allocations: 12 kB / 0.491 GB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2149, allocations: 156.5 kB / 0.4911 GB, free: 7.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2149, allocations: 0 / 0.4911 GB, free: 7.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004885/0.2154, allocations: 91.98 kB / 0.4912 GB, free: 7.551 MB / 382.1 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.0003204/0.2157, allocations: 167 kB / 0.4914 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.216, allocations: 178.1 kB / 0.4916 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.216, allocations: 0 / 0.4916 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.216, allocations: 31.91 kB / 0.4916 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.2164, allocations: 44.52 kB / 0.4916 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/0.2174, allocations: 0.5311 MB / 0.4921 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2177, allocations: 0.7285 MB / 0.4929 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.2178, allocations: 50.92 kB / 0.4929 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.2179, allocations: 27.44 kB / 0.4929 GB, free: 5.738 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2179, allocations: 0 / 0.4929 GB, free: 5.738 MB / 382.1 MB Notification: Performance of Templates: time 0.006974/0.2249, allocations: 3.104 MB / 0.496 GB, free: 2.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches