Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.0008827/0.0008827, allocations: 175.5 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.227/1.227, 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.0007543/0.0007544, allocations: 90.36 kB / 271.2 MB, free: 8.262 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.2909/0.2909, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005484, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1378, allocations: 58.84 MB / 490.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01137/0.1492, allocations: 10.22 MB / 0.4894 GB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1986/0.3479, allocations: 13.09 MB / 0.5022 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.3482, allocations: 1.875 kB / 0.5022 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.3485, allocations: 49.36 kB / 0.5022 GB, free: 34.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008589/0.3571, allocations: 2.494 MB / 0.5047 GB, free: 32.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.3575, allocations: 145.7 kB / 0.5048 GB, free: 32.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008632/0.3661, allocations: 7.409 MB / 0.512 GB, free: 31.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.3662, allocations: 21.8 kB / 0.5121 GB, free: 31.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.3665, allocations: 136.7 kB / 0.5122 GB, free: 31.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/0.3823, allocations: 14.17 MB / 0.526 GB, free: 29.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.3824, allocations: 6.344 kB / 0.526 GB, free: 29.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006326/0.3888, allocations: 2.276 MB / 0.5282 GB, free: 29.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.3889, allocations: 49.45 kB / 0.5283 GB, free: 28.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.3892, allocations: 141.8 kB / 0.5284 GB, free: 28.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.3917, allocations: 1.18 MB / 0.5296 GB, free: 28.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3917, allocations: 4 kB / 0.5296 GB, free: 28.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3917, allocations: 0 / 0.5296 GB, free: 28.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3917, allocations: 0 / 0.5296 GB, free: 28.54 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.002329/0.394, allocations: 0.8995 MB / 0.5305 GB, free: 27.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3941, allocations: 9.406 kB / 0.5305 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.3942, allocations: 62.7 kB / 0.5305 GB, free: 27.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.3947, allocations: 84.69 kB / 0.5306 GB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.395, allocations: 250.3 kB / 0.5309 GB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.395, allocations: 21.03 kB / 0.5309 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.395, allocations: 29.03 kB / 0.5309 GB, free: 27.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.3959, allocations: 481 kB / 0.5314 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.396, allocations: 4.438 kB / 0.5314 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.396, allocations: 15.7 kB / 0.5314 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.396, allocations: 7.125 kB / 0.5314 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.397, allocations: 0.6766 MB / 0.532 GB, free: 27.2 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.006084/0.4031, allocations: 3.121 MB / 0.5351 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.4037, allocations: 217 kB / 0.5353 GB, free: 25.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.4039, allocations: 74.48 kB / 0.5354 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07568/0.4795, allocations: 33.49 MB / 0.5681 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.4803, allocations: 346.4 kB / 0.5684 GB, free: 8.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.316e-06/0.4803, allocations: 0 / 0.5684 GB, free: 8.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002379/0.4827, allocations: 0.8609 MB / 0.5692 GB, free: 7.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.4828, allocations: 474.6 kB / 0.5697 GB, free: 6.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.483, allocations: 158.9 kB / 0.5698 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.483, allocations: 33.7 kB / 0.5699 GB, free: 6.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.4831, allocations: 156 kB / 0.57 GB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.4832, allocations: 134.1 kB / 0.5702 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.4832, allocations: 8 kB / 0.5702 GB, free: 6.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4834, allocations: 334.8 kB / 0.5705 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.4835, allocations: 61.09 kB / 0.5705 GB, free: 6.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4837, allocations: 312.3 kB / 0.5708 GB, free: 5.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.4842, allocations: 440.6 kB / 0.5713 GB, free: 5.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4842, allocations: 0 / 0.5713 GB, free: 5.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006002/0.4848, allocations: 397.5 kB / 0.5716 GB, free: 4.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4848, allocations: 12.16 kB / 0.5717 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4848, allocations: 20.3 kB / 0.5717 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4849, allocations: 12 kB / 0.5717 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.4865, allocations: 267.3 kB / 0.5719 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005429/0.487, allocations: 1.184 MB / 0.5731 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4873, allocations: 23.84 kB / 0.5731 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.4873, allocations: 35.98 kB / 0.5731 GB, free: 3.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * 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.0001456/0.4875, allocations: 160.4 kB / 0.5733 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.4875, allocations: 31.8 kB / 0.5733 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.4888, allocations: 0.959 MB / 0.5743 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4888, allocations: 7.984 kB / 0.5743 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4888, allocations: 4 kB / 0.5743 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4888, allocations: 0 / 0.5743 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.4901, allocations: 1.434 MB / 0.5757 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4902, allocations: 4 kB / 0.5757 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/0.4911, allocations: 147.9 kB / 0.5758 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4911, allocations: 4 kB / 0.5758 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4912, allocations: 8 kB / 0.5758 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002906/0.4915, allocations: 0.5859 MB / 0.5764 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4915, allocations: 8.125 kB / 0.5764 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.492, allocations: 0.5118 MB / 0.5769 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.4922, allocations: 212 kB / 0.5771 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.4922, allocations: 19.86 kB / 0.5771 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.4925, allocations: 12 kB / 0.5771 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.4926, allocations: 31.91 kB / 0.5772 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4926, allocations: 11.19 kB / 0.5772 GB, free: 14.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.4929, allocations: 275.1 kB / 0.5775 GB, free: 14.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4929, allocations: 0 / 0.5775 GB, free: 14.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001471/0.4944, allocations: 467.6 kB / 0.5779 GB, free: 14.02 MB / 410.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003051/0.4975, allocations: 1.641 MB / 0.5795 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.4989, allocations: 377.9 kB / 0.5799 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.499, allocations: 7.922 kB / 0.5799 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.4997, allocations: 227.6 kB / 0.5801 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.5006, allocations: 102.5 kB / 0.5802 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.257/1.757, allocations: 0.5363 GB / 1.116 GB, free: 97.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/1.758, allocations: 0.8263 MB / 1.117 GB, free: 96.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.758, allocations: 159.4 kB / 1.117 GB, free: 96.21 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.758, allocations: 4 kB / 1.117 GB, free: 96.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.649/5.407, allocations: 13.61 MB / 1.131 GB, free: 82.66 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches