Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.001093/0.001094, allocations: 173.9 kB / 16.72 MB, free: 4.938 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008045/0.0008046, allocations: 98.39 kB / 271.2 MB, free: 8.238 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.298/0.298, allocations: 43.56 MB / 363.1 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 11.98 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.315/0.4245, allocations: 137.1 MB / 0.6133 GB, free: 13.46 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.428, allocations: 2.823 MB / 0.6161 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.4281, allocations: 0 / 0.6161 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.4285, allocations: 59.72 kB / 0.6161 GB, free: 10.6 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.4307, allocations: 0.8871 MB / 0.617 GB, free: 9.707 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.4313, allocations: 172.1 kB / 0.6172 GB, free: 9.539 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.4317, allocations: 402.5 kB / 0.6176 GB, free: 9.145 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.4318, allocations: 12.05 kB / 0.6176 GB, free: 9.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.4321, allocations: 143.5 kB / 0.6177 GB, free: 8.996 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.4323, allocations: 111.6 kB / 0.6178 GB, free: 8.887 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.4324, allocations: 8 kB / 0.6178 GB, free: 8.879 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.4353, allocations: 1.73 MB / 0.6195 GB, free: 7.145 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4355, allocations: 79.77 kB / 0.6196 GB, free: 7.066 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4356, allocations: 117.4 kB / 0.6197 GB, free: 6.945 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.4368, allocations: 0.7504 MB / 0.6204 GB, free: 6.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4368, allocations: 0 / 0.6204 GB, free: 6.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4368, allocations: 0 / 0.6204 GB, free: 6.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4368, allocations: 0 / 0.6204 GB, free: 6.195 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009248/0.4378, allocations: 0.503 MB / 0.6209 GB, free: 5.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4378, allocations: 8.781 kB / 0.6209 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.595e-05/0.4379, allocations: 66.64 kB / 0.621 GB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.4415, allocations: 371 kB / 0.6214 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.4419, allocations: 260.1 kB / 0.6216 GB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4419, allocations: 17.25 kB / 0.6216 GB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.442, allocations: 19.94 kB / 0.6216 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.443, allocations: 496.8 kB / 0.6221 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.443, allocations: 0 / 0.6221 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.4431, allocations: 13.69 kB / 0.6221 GB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.4431, allocations: 4 kB / 0.6221 GB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009832/0.4441, allocations: 0.5074 MB / 0.6226 GB, free: 3.863 MB / 442.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.002258/0.4463, allocations: 0.9942 MB / 0.6236 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.447, allocations: 297.6 kB / 0.6239 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.4472, allocations: 152.8 kB / 0.624 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.4489, allocations: 0.8903 MB / 0.6249 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.449, allocations: 38.56 kB / 0.6249 GB, free: 1.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/0.449, allocations: 0 / 0.6249 GB, free: 1.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009034/0.4499, allocations: 406.5 kB / 0.6253 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4499, allocations: 81.11 kB / 0.6254 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.45, allocations: 122.3 kB / 0.6255 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4501, allocations: 29.7 kB / 0.6255 GB, free: 0.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.4502, allocations: 108.4 kB / 0.6256 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.4503, allocations: 110.5 kB / 0.6257 GB, free: 416 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.4503, allocations: 4 kB / 0.6257 GB, free: 412 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4504, allocations: 326.8 kB / 0.6261 GB, free: 76 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.4507, allocations: 113.4 kB / 0.6262 GB, free: 15.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.451, allocations: 207.4 kB / 0.6264 GB, free: 15.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.4515, allocations: 328.5 kB / 0.6267 GB, free: 15.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4515, allocations: 7.938 kB / 0.6267 GB, free: 15.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006916/0.4522, allocations: 382.2 kB / 0.6271 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4522, allocations: 8 kB / 0.6271 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4522, allocations: 4 kB / 0.6271 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4523, allocations: 7.938 kB / 0.6271 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.4527, allocations: 75.89 kB / 0.6271 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4527, allocations: 8.25 kB / 0.6272 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.453, allocations: 39.67 kB / 0.6272 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.4531, allocations: 16 kB / 0.6272 GB, free: 14.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001683/0.4533, allocations: 145.7 kB / 0.6273 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4534, allocations: 11.91 kB / 0.6274 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.4542, allocations: 380.1 kB / 0.6277 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4543, allocations: 4 kB / 0.6277 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.4543, allocations: 0 / 0.6277 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4543, allocations: 7.938 kB / 0.6277 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.455, allocations: 364.7 kB / 0.6281 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.455, allocations: 4 kB / 0.6281 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.4554, allocations: 51.97 kB / 0.6281 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.4554, allocations: 4 kB / 0.6281 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.4555, allocations: 11.98 kB / 0.6281 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4555, allocations: 4 kB / 0.6281 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4555, allocations: 3.938 kB / 0.6282 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.4564, allocations: 0.5512 MB / 0.6287 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.4564, allocations: 88.95 kB / 0.6288 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.4565, allocations: 5.875 kB / 0.6288 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.4569, allocations: 27.89 kB / 0.6288 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.457, allocations: 15.97 kB / 0.6288 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.457, allocations: 19.98 kB / 0.6288 GB, free: 13.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.4571, allocations: 87.27 kB / 0.6289 GB, free: 12.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4571, allocations: 0 / 0.6289 GB, free: 12.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00101/0.4581, allocations: 239.8 kB / 0.6292 GB, free: 12.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * 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 (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.002369/0.4605, allocations: 1.422 MB / 0.6305 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.4611, allocations: 297.3 kB / 0.6308 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4611, allocations: 0 / 0.6308 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4614, allocations: 150.6 kB / 0.631 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.462, allocations: 82.73 kB / 0.631 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.4647, allocations: 1.705 MB / 0.6327 GB, free: 8.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.465, allocations: 0.7248 MB / 0.6334 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4653, allocations: 71.41 kB / 0.6335 GB, free: 8.172 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4653, allocations: 0 / 0.6335 GB, free: 8.172 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.811/4.276, allocations: 6.321 MB / 0.6397 GB, free: 1.844 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches