Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.0008931/0.0008931, allocations: 174 kB / 16.72 MB, free: 5.082 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.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007068/0.0007068, allocations: 86.41 kB / 271.2 MB, free: 8.258 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.2991/0.2991, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 12 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01181/0.12, allocations: 10.21 MB / 0.4894 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.3078, allocations: 13.09 MB / 0.5022 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.308, allocations: 1.188 kB / 0.5022 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3083, allocations: 52.28 kB / 0.5022 GB, free: 34.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008043/0.3164, allocations: 2.497 MB / 0.5047 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3168, allocations: 147.4 kB / 0.5048 GB, free: 33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008306/0.3251, allocations: 7.404 MB / 0.512 GB, free: 31.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.379e-05/0.3252, allocations: 27.95 kB / 0.5121 GB, free: 31.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3253, allocations: 134.9 kB / 0.5122 GB, free: 31.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.3403, allocations: 14.16 MB / 0.526 GB, free: 29.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.3404, allocations: 6.156 kB / 0.526 GB, free: 29.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.3455, allocations: 2.038 MB / 0.528 GB, free: 29.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.3456, allocations: 48.38 kB / 0.5281 GB, free: 29.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.3459, allocations: 138.6 kB / 0.5282 GB, free: 29.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.348, allocations: 1.055 MB / 0.5292 GB, free: 28.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.348, allocations: 4 kB / 0.5292 GB, free: 28.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.348, allocations: 0 / 0.5292 GB, free: 28.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.348, allocations: 1.375 kB / 0.5292 GB, free: 28.85 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002142/0.3502, allocations: 0.8639 MB / 0.5301 GB, free: 28.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3502, allocations: 9.625 kB / 0.5301 GB, free: 28.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.3503, allocations: 63.27 kB / 0.5301 GB, free: 28.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.3508, allocations: 75.34 kB / 0.5302 GB, free: 28.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.351, allocations: 251.4 kB / 0.5305 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3511, allocations: 23.38 kB / 0.5305 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.3511, allocations: 25.47 kB / 0.5305 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.352, allocations: 482.6 kB / 0.531 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.352, allocations: 5.219 kB / 0.531 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.352, allocations: 10.69 kB / 0.531 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3521, allocations: 8.391 kB / 0.531 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.353, allocations: 0.6827 MB / 0.5317 GB, free: 27.52 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.006413/0.3594, allocations: 4.285 MB / 0.5358 GB, free: 24.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.3599, allocations: 163.8 kB / 0.536 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.36, allocations: 68.31 kB / 0.5361 GB, free: 24.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0244/0.3844, allocations: 16.37 MB / 0.552 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.3851, allocations: 323.3 kB / 0.5524 GB, free: 9.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/0.3851, allocations: 3.984 kB / 0.5524 GB, free: 9.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001207/0.3863, allocations: 435 kB / 0.5528 GB, free: 8.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.3864, allocations: 484.5 kB / 0.5532 GB, free: 8.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3866, allocations: 183.6 kB / 0.5534 GB, free: 8.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3866, allocations: 33.7 kB / 0.5534 GB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3867, allocations: 183.2 kB / 0.5536 GB, free: 7.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.3868, allocations: 102.3 kB / 0.5537 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.3868, allocations: 8 kB / 0.5537 GB, free: 7.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.3868, allocations: 332.3 kB / 0.554 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3869, allocations: 63.75 kB / 0.5541 GB, free: 7.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3871, allocations: 309.2 kB / 0.5544 GB, free: 6.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3875, allocations: 432.8 kB / 0.5548 GB, free: 6.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3875, allocations: 1.125 kB / 0.5548 GB, free: 6.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006006/0.3881, allocations: 401.2 kB / 0.5552 GB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3881, allocations: 9.125 kB / 0.5552 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3881, allocations: 8 kB / 0.5552 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3881, allocations: 12 kB / 0.5552 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.3884, allocations: 109.1 kB / 0.5553 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.3884, allocations: 19.5 kB / 0.5553 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.3887, allocations: 47.88 kB / 0.5554 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3888, allocations: 42.14 kB / 0.5554 GB, free: 5.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 0.0001177/0.3889, allocations: 153.6 kB / 0.5556 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.3889, allocations: 26.62 kB / 0.5556 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/0.3899, allocations: 0.8004 MB / 0.5564 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.3899, allocations: 4 kB / 0.5564 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3899, allocations: 4 kB / 0.5564 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3899, allocations: 3.938 kB / 0.5564 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.3909, allocations: 1.212 MB / 0.5576 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3909, allocations: 4 kB / 0.5576 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.391, allocations: 31.92 kB / 0.5576 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.391, allocations: 7.938 kB / 0.5576 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.391, allocations: 11.98 kB / 0.5576 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.391, allocations: 4 kB / 0.5576 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.391, allocations: 7.125 kB / 0.5576 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.3913, allocations: 370.5 kB / 0.558 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.3915, allocations: 220 kB / 0.5582 GB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.3915, allocations: 11.94 kB / 0.5582 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.3918, allocations: 15.98 kB / 0.5582 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3918, allocations: 19.92 kB / 0.5582 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3919, allocations: 12 kB / 0.5583 GB, free: 2.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3921, allocations: 290.9 kB / 0.5585 GB, free: 2.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3921, allocations: 0 / 0.5585 GB, free: 2.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001383/0.3935, allocations: 427.6 kB / 0.5589 GB, free: 2.078 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002056/0.3956, allocations: 1.438 MB / 0.5603 GB, free: 16.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3959, allocations: 228.7 kB / 0.5606 GB, free: 16.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3959, allocations: 0 / 0.5606 GB, free: 16.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.396, allocations: 85.41 kB / 0.5606 GB, free: 16.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.3968, allocations: 86.58 kB / 0.5607 GB, free: 16.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.263/1.66, allocations: 0.5782 GB / 1.139 GB, free: 74.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/1.66, allocations: 0.8109 MB / 1.14 GB, free: 73.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.66, allocations: 151.4 kB / 1.14 GB, free: 73.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.66, allocations: 0 / 1.14 GB, free: 73.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.309/4.969, allocations: 11.19 MB / 1.151 GB, free: 62.69 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches