Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 174.8 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 8.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007561/0.0007564, allocations: 86.31 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2815/0.2815, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 16 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09545, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.1943/0.2898, allocations: 24.85 MB / 0.5037 GB, free: 32.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.2922, allocations: 2.751 MB / 0.5064 GB, free: 31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.2924, allocations: 1.312 kB / 0.5064 GB, free: 31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2926, allocations: 49.08 kB / 0.5064 GB, free: 30.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.2942, allocations: 0.6179 MB / 0.507 GB, free: 30.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.2945, allocations: 123.8 kB / 0.5071 GB, free: 30.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.2949, allocations: 392.8 kB / 0.5075 GB, free: 30.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.295, allocations: 13.55 kB / 0.5075 GB, free: 30.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03688/0.3319, allocations: 22.44 MB / 0.5294 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.3323, allocations: 148.8 kB / 0.5296 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.3323, allocations: 10.34 kB / 0.5296 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009278/0.3416, allocations: 5.689 MB / 0.5351 GB, free: 25.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.3417, allocations: 46.16 kB / 0.5352 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3419, allocations: 128.4 kB / 0.5353 GB, free: 25.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.3423, allocations: 321.1 kB / 0.5356 GB, free: 25.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3423, allocations: 0 / 0.5356 GB, free: 25.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3423, allocations: 0 / 0.5356 GB, free: 25.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3423, allocations: 0 / 0.5356 GB, free: 25.3 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.0008265/0.3432, allocations: 0.5474 MB / 0.5361 GB, free: 24.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3432, allocations: 12.03 kB / 0.5362 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.3433, allocations: 61.69 kB / 0.5362 GB, free: 24.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3434, allocations: 24.75 kB / 0.5362 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3436, allocations: 228.8 kB / 0.5365 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.3437, allocations: 124.1 kB / 0.5366 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3437, allocations: 23.94 kB / 0.5366 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.3441, allocations: 321.9 kB / 0.5369 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3441, allocations: 4 kB / 0.5369 GB, free: 23.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3441, allocations: 11.98 kB / 0.5369 GB, free: 23.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3442, allocations: 11.94 kB / 0.5369 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.3447, allocations: 0.7367 MB / 0.5377 GB, free: 23.4 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.0009039/0.3456, allocations: 1.304 MB / 0.5389 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.3459, allocations: 160.8 kB / 0.5391 GB, free: 21.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.346, allocations: 84.25 kB / 0.5392 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/0.3476, allocations: 2.823 MB / 0.5419 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3476, allocations: 31.08 kB / 0.5419 GB, free: 18.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3476, allocations: 0 / 0.5419 GB, free: 18.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002184/0.3478, allocations: 119.8 kB / 0.5421 GB, free: 18.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.3479, allocations: 52.58 kB / 0.5421 GB, free: 18.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.348, allocations: 222.3 kB / 0.5423 GB, free: 18.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.348, allocations: 25.7 kB / 0.5423 GB, free: 18.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.3481, allocations: 228.6 kB / 0.5426 GB, free: 17.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3481, allocations: 46.08 kB / 0.5426 GB, free: 17.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.3481, allocations: 4 kB / 0.5426 GB, free: 17.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.3482, allocations: 326.3 kB / 0.5429 GB, free: 17.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/0.3483, allocations: 50.75 kB / 0.543 GB, free: 17.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3484, allocations: 344.1 kB / 0.5433 GB, free: 17.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3486, allocations: 438.9 kB / 0.5437 GB, free: 16.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3487, allocations: 4 kB / 0.5437 GB, free: 16.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003925/0.3491, allocations: 376.4 kB / 0.5441 GB, free: 16.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3491, allocations: 9.25 kB / 0.5441 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3491, allocations: 16.16 kB / 0.5441 GB, free: 16.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3491, allocations: 15.94 kB / 0.5441 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.3493, allocations: 110.1 kB / 0.5442 GB, free: 16.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3493, allocations: 15.94 kB / 0.5442 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3495, allocations: 55.38 kB / 0.5443 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3496, allocations: 31.33 kB / 0.5443 GB, free: 15.96 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/0.3497, allocations: 145.7 kB / 0.5445 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3497, allocations: 19.81 kB / 0.5445 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3499, allocations: 150.9 kB / 0.5446 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.35, allocations: 0 / 0.5446 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.35, allocations: 11.47 kB / 0.5446 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.35, allocations: 0 / 0.5446 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.3503, allocations: 404.7 kB / 0.545 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3503, allocations: 4 kB / 0.545 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.3503, allocations: 11.52 kB / 0.545 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3504, allocations: 4 kB / 0.545 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3504, allocations: 48 / 0.545 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3504, allocations: 8.969 kB / 0.5451 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3504, allocations: 3.984 kB / 0.5451 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3505, allocations: 208.8 kB / 0.5453 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.3506, allocations: 107.7 kB / 0.5454 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3506, allocations: 4 kB / 0.5454 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3507, allocations: 10.31 kB / 0.5454 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3508, allocations: 11.17 kB / 0.5454 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3508, allocations: 7.938 kB / 0.5454 GB, free: 14.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.3509, allocations: 157 kB / 0.5455 GB, free: 14.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3509, allocations: 0 / 0.5455 GB, free: 14.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.3513, allocations: 91.94 kB / 0.5456 GB, free: 14.58 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/0.3517, allocations: 0.7964 MB / 0.5464 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3519, allocations: 175 kB / 0.5466 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3519, allocations: 0 / 0.5466 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.3519, allocations: 19.52 kB / 0.5466 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3523, allocations: 43.98 kB / 0.5466 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3537, allocations: 1.476 MB / 0.5481 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3539, allocations: 0.7267 MB / 0.5488 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.354, allocations: 65.67 kB / 0.5488 GB, free: 11.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.354, allocations: 0 / 0.5488 GB, free: 11.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.234, allocations: 3.664 MB / 0.5524 GB, free: 9.094 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches