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.001257/0.001257, allocations: 114.9 kB / 16.41 MB, free: 6.488 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.001226/0.001227, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.629/1.629, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2578/0.2578, allocations: 43.53 MB / 314.1 MB, free: 460 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.001559/0.001559, allocations: 75.88 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03663/0.1915, allocations: 26.82 MB / 0.5141 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1952, allocations: 2.959 MB / 0.517 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1953, allocations: 4 kB / 0.517 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1957, allocations: 51.66 kB / 0.5171 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.1977, allocations: 0.7227 MB / 0.5178 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1981, allocations: 139.7 kB / 0.5179 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.1987, allocations: 374.1 kB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1988, allocations: 13.67 kB / 0.5183 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3938/0.5926, allocations: 15.46 MB / 0.5334 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.5932, allocations: 151.6 kB / 0.5335 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.5932, allocations: 8.594 kB / 0.5335 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00942/0.6027, allocations: 3.443 MB / 0.5369 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.6028, allocations: 45.02 kB / 0.5369 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.603, allocations: 106 kB / 0.537 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.604, allocations: 477.2 kB / 0.5375 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.604, allocations: 0.7969 kB / 0.5375 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.604, allocations: 0 / 0.5375 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.604, allocations: 0 / 0.5375 GB, free: 12.21 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001154/0.6052, allocations: 0.5957 MB / 0.5381 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6052, allocations: 14.77 kB / 0.5381 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.6054, allocations: 26.11 kB / 0.5381 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.6057, allocations: 228.7 kB / 0.5383 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6058, allocations: 122.3 kB / 0.5384 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.6059, allocations: 26.06 kB / 0.5385 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.6064, allocations: 330.1 kB / 0.5388 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6065, allocations: 1.188 kB / 0.5388 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.6065, allocations: 10.81 kB / 0.5388 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.6065, allocations: 6.812 kB / 0.5388 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6077, allocations: 0.7385 MB / 0.5395 GB, free: 11.37 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.001331/0.609, allocations: 1.301 MB / 0.5408 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.6094, allocations: 166.3 kB / 0.5409 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.6096, allocations: 85.22 kB / 0.541 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.6115, allocations: 2.811 MB / 0.5438 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.6115, allocations: 37.94 kB / 0.5438 GB, free: 7.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.6115, allocations: 2.188 kB / 0.5438 GB, free: 7.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003114/0.6118, allocations: 115.2 kB / 0.5439 GB, free: 7.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.6119, allocations: 53.58 kB / 0.544 GB, free: 7.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.6121, allocations: 219 kB / 0.5442 GB, free: 7.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.6121, allocations: 30.42 kB / 0.5442 GB, free: 7.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.6123, allocations: 223.3 kB / 0.5444 GB, free: 6.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.6123, allocations: 41.98 kB / 0.5445 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.6124, allocations: 94.17 kB / 0.5445 GB, free: 6.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.6125, allocations: 327.3 kB / 0.5449 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.6126, allocations: 47.2 kB / 0.5449 GB, free: 6.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.6128, allocations: 338 kB / 0.5452 GB, free: 6.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.6132, allocations: 443.6 kB / 0.5456 GB, free: 5.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.6132, allocations: 11.03 kB / 0.5457 GB, free: 5.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005496/0.6138, allocations: 379.2 kB / 0.546 GB, free: 5.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6138, allocations: 14.62 kB / 0.546 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.6138, allocations: 10.09 kB / 0.546 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.6138, allocations: 17.69 kB / 0.5461 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.6141, allocations: 99.2 kB / 0.5462 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.6141, allocations: 23.36 kB / 0.5462 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.6144, allocations: 56.38 kB / 0.5462 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.6144, allocations: 28.17 kB / 0.5463 GB, free: 5.734 MB / 414.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.0001128/0.6145, allocations: 154.6 kB / 0.5464 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.6146, allocations: 18.53 kB / 0.5464 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.6149, allocations: 144 kB / 0.5466 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6149, allocations: 1.656 kB / 0.5466 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6149, allocations: 1.031 kB / 0.5466 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6149, allocations: 5.688 kB / 0.5466 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.6154, allocations: 409.7 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6154, allocations: 0.875 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.6155, allocations: 16.59 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6155, allocations: 1.156 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6155, allocations: 3.297 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6155, allocations: 1.344 kB / 0.547 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6155, allocations: 5.469 kB / 0.547 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.6157, allocations: 203.3 kB / 0.5472 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.6157, allocations: 95.66 kB / 0.5473 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.6158, allocations: 10.69 kB / 0.5473 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.6159, allocations: 13.2 kB / 0.5473 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.616, allocations: 10.02 kB / 0.5473 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.616, allocations: 5.75 kB / 0.5473 GB, free: 4.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.6162, allocations: 153.9 kB / 0.5475 GB, free: 4.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6162, allocations: 0 / 0.5475 GB, free: 4.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000583/0.6168, allocations: 89.58 kB / 0.5475 GB, free: 4.852 MB / 414.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.0003099/0.6171, allocations: 166 kB / 0.5477 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.6175, allocations: 178.8 kB / 0.5479 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6175, allocations: 1.406 kB / 0.5479 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.6176, allocations: 21.06 kB / 0.5479 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.6181, allocations: 57.56 kB / 0.5479 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.6192, allocations: 0.5321 MB / 0.5485 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6194, allocations: 0.7233 MB / 0.5492 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.6196, allocations: 53.41 kB / 0.5492 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.6197, allocations: 28.02 kB / 0.5492 GB, free: 3.777 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6197, allocations: 5.5 kB / 0.5493 GB, free: 3.773 MB / 414.1 MB Notification: Performance of Templates: time 0.009296/0.629, allocations: 3.144 MB / 0.5523 GB, free: 3.453 MB / 414.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 -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/jenkins/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/jenkins/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