Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",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.0008936/0.0008935, allocations: 171.1 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.327/1.327, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007531/0.0007531, allocations: 89.36 kB / 271.2 MB, free: 8.242 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.327/0.327, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3153/0.4202, allocations: 139.2 MB / 0.6154 GB, free: 11.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.4352, allocations: 12.26 MB / 0.6273 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.4355, allocations: 0 / 0.6273 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.4359, allocations: 63.62 kB / 0.6274 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008913/0.4449, allocations: 2.891 MB / 0.6302 GB, free: 11.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.4453, allocations: 151 kB / 0.6304 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008184/0.4461, allocations: 0.6503 MB / 0.631 GB, free: 11.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.4462, allocations: 19.27 kB / 0.631 GB, free: 11.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.4465, allocations: 211.2 kB / 0.6312 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.4474, allocations: 405 kB / 0.6316 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.4474, allocations: 8 kB / 0.6316 GB, free: 10.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009871/0.4573, allocations: 5.363 MB / 0.6369 GB, free: 5.191 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.4575, allocations: 95.67 kB / 0.6369 GB, free: 5.098 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4578, allocations: 181 kB / 0.6371 GB, free: 4.914 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.462, allocations: 1.754 MB / 0.6388 GB, free: 3.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4621, allocations: 0 / 0.6388 GB, free: 3.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4621, allocations: 0 / 0.6388 GB, free: 3.156 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4621, allocations: 0 / 0.6388 GB, free: 3.156 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003448/0.4655, allocations: 1.052 MB / 0.6399 GB, free: 2.059 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4656, allocations: 15.97 kB / 0.6399 GB, free: 2.043 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4657, allocations: 70.72 kB / 0.6399 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.4659, allocations: 36.56 kB / 0.64 GB, free: 1.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.4662, allocations: 255.1 kB / 0.6402 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4663, allocations: 131.5 kB / 0.6403 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.4664, allocations: 31.94 kB / 0.6404 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.4672, allocations: 0.5681 MB / 0.6409 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4673, allocations: 4 kB / 0.6409 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.4673, allocations: 16 kB / 0.6409 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.4674, allocations: 25.23 kB / 0.641 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.4687, allocations: 1.263 MB / 0.6422 GB, free: 15.55 MB / 474.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.002532/0.4713, allocations: 2.003 MB / 0.6442 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.472, allocations: 264 kB / 0.6444 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.4722, allocations: 114.1 kB / 0.6445 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00347/0.4756, allocations: 3.359 MB / 0.6478 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4757, allocations: 34.56 kB / 0.6478 GB, free: 9.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.254e-06/0.4757, allocations: 4 kB / 0.6478 GB, free: 9.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.00175/0.4774, allocations: 0.7321 MB / 0.6486 GB, free: 8.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.4775, allocations: 55.41 kB / 0.6486 GB, free: 8.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4777, allocations: 198.3 kB / 0.6488 GB, free: 8.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.4777, allocations: 33.7 kB / 0.6488 GB, free: 8.012 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4778, allocations: 191.7 kB / 0.649 GB, free: 7.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.478, allocations: 157.8 kB / 0.6492 GB, free: 7.664 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.478, allocations: 12 kB / 0.6492 GB, free: 7.652 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4781, allocations: 330.8 kB / 0.6495 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4783, allocations: 105.2 kB / 0.6496 GB, free: 7.215 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.4787, allocations: 421.3 kB / 0.65 GB, free: 6.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.4794, allocations: 0.5824 MB / 0.6506 GB, free: 5.934 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4794, allocations: 4 kB / 0.6506 GB, free: 5.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008785/0.4803, allocations: 0.5513 MB / 0.6511 GB, free: 5.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4803, allocations: 8.969 kB / 0.6511 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.4803, allocations: 12 kB / 0.6511 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4803, allocations: 23.98 kB / 0.6511 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.481, allocations: 199.7 kB / 0.6513 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006271/0.4816, allocations: 1.188 MB / 0.6525 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.4819, allocations: 37.64 kB / 0.6525 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.482, allocations: 63.98 kB / 0.6526 GB, free: 3.801 MB / 474.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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.4822, allocations: 183.5 kB / 0.6528 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.4823, allocations: 27.72 kB / 0.6528 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4836, allocations: 0.6336 MB / 0.6534 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4836, allocations: 7.984 kB / 0.6534 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.4836, allocations: 5.062 kB / 0.6534 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4836, allocations: 0 / 0.6534 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.4845, allocations: 0.653 MB / 0.6541 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4846, allocations: 0 / 0.6541 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.485, allocations: 109.2 kB / 0.6542 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.485, allocations: 4 kB / 0.6542 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.485, allocations: 8 kB / 0.6542 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005381/0.4856, allocations: 1.168 MB / 0.6553 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4856, allocations: 4.031 kB / 0.6553 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.486, allocations: 348.8 kB / 0.6557 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4862, allocations: 148.6 kB / 0.6558 GB, free: 344 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.4862, allocations: 4 kB / 0.6558 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4865, allocations: 19.92 kB / 0.6558 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.4866, allocations: 28.12 kB / 0.6558 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4866, allocations: 16 kB / 0.6559 GB, free: 280 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.4868, allocations: 172.5 kB / 0.656 GB, free: 104 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4868, allocations: 0 / 0.656 GB, free: 104 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001717/0.4885, allocations: 0.5503 MB / 0.6566 GB, free: 15.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003119/0.4916, allocations: 1.66 MB / 0.6582 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.4925, allocations: 373 kB / 0.6585 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4925, allocations: 0 / 0.6585 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.4929, allocations: 144 kB / 0.6587 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.4935, allocations: 105.3 kB / 0.6588 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.5082, allocations: 9.734 MB / 0.6683 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.5085, allocations: 0.7659 MB / 0.669 GB, free: 2.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.5089, allocations: 151.4 kB / 0.6692 GB, free: 2.379 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5089, allocations: 0 / 0.6692 GB, free: 2.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.194/5.703, allocations: 14.39 MB / 0.6832 GB, free: 145.6 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches