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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.00129/0.001291, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.527/1.527, 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.215/0.215, allocations: 43.52 MB / 314.1 MB, free: 456 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.001423/0.001424, allocations: 66.03 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1337, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03665/0.1704, allocations: 26.82 MB / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1755, allocations: 2.959 MB / 0.5165 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.1759, allocations: 0 / 0.5165 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.1765, allocations: 55.59 kB / 0.5166 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.1794, allocations: 0.7227 MB / 0.5173 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.1801, allocations: 139.8 kB / 0.5174 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000961/0.1811, allocations: 374.1 kB / 0.5178 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.1812, allocations: 9.688 kB / 0.5178 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3103/0.4915, allocations: 15.46 MB / 0.5329 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.492, allocations: 154.3 kB / 0.533 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.4921, allocations: 7.469 kB / 0.533 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.5024, allocations: 3.44 MB / 0.5364 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.5026, allocations: 44.73 kB / 0.5364 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.5028, allocations: 101.5 kB / 0.5365 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.5039, allocations: 476 kB / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.504, allocations: 0 / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.504, allocations: 0 / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.504, allocations: 0 / 0.537 GB, free: 12.03 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.001141/0.5051, allocations: 0.5945 MB / 0.5376 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5052, allocations: 13.48 kB / 0.5376 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/0.5053, allocations: 66.84 kB / 0.5376 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.5054, allocations: 25.41 kB / 0.5377 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.5058, allocations: 225.3 kB / 0.5379 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.506, allocations: 130.3 kB / 0.538 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.506, allocations: 29.39 kB / 0.538 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.5065, allocations: 321.8 kB / 0.5383 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5065, allocations: 0.5156 kB / 0.5383 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.5066, allocations: 10.53 kB / 0.5383 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5066, allocations: 11.88 kB / 0.5383 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5078, allocations: 0.7371 MB / 0.5391 GB, free: 11.14 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.001436/0.5092, allocations: 1.301 MB / 0.5403 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.5096, allocations: 163.4 kB / 0.5405 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5097, allocations: 91.83 kB / 0.5406 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/0.5118, allocations: 2.808 MB / 0.5433 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5118, allocations: 35.14 kB / 0.5434 GB, free: 7.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.5118, allocations: 1.5 kB / 0.5434 GB, free: 7.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002797/0.5121, allocations: 114.4 kB / 0.5435 GB, free: 7.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.5121, allocations: 52.91 kB / 0.5435 GB, free: 7.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.5123, allocations: 228.6 kB / 0.5437 GB, free: 6.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5124, allocations: 31.78 kB / 0.5438 GB, free: 6.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.5125, allocations: 219.5 kB / 0.544 GB, free: 6.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.5125, allocations: 43.58 kB / 0.544 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.5126, allocations: 85.2 kB / 0.5441 GB, free: 6.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.5127, allocations: 327.3 kB / 0.5444 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.5128, allocations: 50.2 kB / 0.5445 GB, free: 6.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.513, allocations: 344.9 kB / 0.5448 GB, free: 5.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.5134, allocations: 447.7 kB / 0.5452 GB, free: 5.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5134, allocations: 2.656 kB / 0.5452 GB, free: 5.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005643/0.514, allocations: 384.4 kB / 0.5456 GB, free: 5.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.514, allocations: 10.42 kB / 0.5456 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.514, allocations: 11 kB / 0.5456 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.5141, allocations: 17.69 kB / 0.5456 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.5143, allocations: 102.6 kB / 0.5457 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.5144, allocations: 20.08 kB / 0.5457 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5146, allocations: 53.06 kB / 0.5458 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.5146, allocations: 29.34 kB / 0.5458 GB, free: 5.512 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.000111/0.5147, allocations: 156.9 kB / 0.546 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.5148, allocations: 19.61 kB / 0.546 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.5151, allocations: 146.7 kB / 0.5461 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5151, allocations: 4 kB / 0.5461 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5152, allocations: 4.734 kB / 0.5461 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5152, allocations: 0 / 0.5461 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.5157, allocations: 412.1 kB / 0.5465 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5157, allocations: 1.375 kB / 0.5465 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.5158, allocations: 13.31 kB / 0.5465 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5158, allocations: 1.031 kB / 0.5465 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5158, allocations: 6.938 kB / 0.5465 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5158, allocations: 1.984 kB / 0.5465 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.5158, allocations: 1.469 kB / 0.5466 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.5161, allocations: 204.8 kB / 0.5467 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.5161, allocations: 94.86 kB / 0.5468 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.5162, allocations: 12.12 kB / 0.5468 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5164, allocations: 11.75 kB / 0.5469 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.5164, allocations: 4.703 kB / 0.5469 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5164, allocations: 5.047 kB / 0.5469 GB, free: 4.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.5166, allocations: 154 kB / 0.547 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.5166, allocations: 3.844 kB / 0.547 GB, free: 4.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.5172, allocations: 100.3 kB / 0.5471 GB, free: 4.621 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.0006729/0.5178, allocations: 0.7952 MB / 0.5479 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.5182, allocations: 173.1 kB / 0.5481 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5183, allocations: 2.719 kB / 0.5481 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.5183, allocations: 24.34 kB / 0.5481 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.5188, allocations: 45.2 kB / 0.5481 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.522, allocations: 2.81 MB / 0.5509 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.5222, allocations: 0.727 MB / 0.5516 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.5224, allocations: 51.72 kB / 0.5516 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.5225, allocations: 61.67 kB / 0.5517 GB, free: 1.031 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5225, allocations: 0 / 0.5517 GB, free: 1.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.546, allocations: 5.303 MB / 0.5569 GB, free: 224 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.036, allocations: 5.062 kB / 0.5569 GB, free: 220 kB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > 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