Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 103.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2589/0.2589, allocations: 43.54 MB / 314.1 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 73.61 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1286, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5163/0.6449, allocations: 151.2 MB / 0.635 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.6489, allocations: 3.038 MB / 0.638 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.6491, allocations: 0 / 0.638 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.6497, allocations: 63.64 kB / 0.638 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.6525, allocations: 1.01 MB / 0.639 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.6531, allocations: 196.5 kB / 0.6392 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.6536, allocations: 354.6 kB / 0.6396 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.6537, allocations: 13.12 kB / 0.6396 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.654, allocations: 147.5 kB / 0.6397 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.6543, allocations: 115.6 kB / 0.6398 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.6544, allocations: 12 kB / 0.6398 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.6573, allocations: 1.461 MB / 0.6413 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.6574, allocations: 87.72 kB / 0.6413 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.6576, allocations: 103.6 kB / 0.6414 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.6594, allocations: 0.9744 MB / 0.6424 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6595, allocations: 3.938 kB / 0.6424 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6595, allocations: 0 / 0.6424 GB, free: 12.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.6595, allocations: 0 / 0.6424 GB, free: 12.27 MB / 494.1 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.001246/0.6607, allocations: 0.5461 MB / 0.6429 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.6608, allocations: 15.89 kB / 0.6429 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.6609, allocations: 50.73 kB / 0.643 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.6624, allocations: 200.5 kB / 0.6432 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.6629, allocations: 248.1 kB / 0.6434 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.6629, allocations: 12.75 kB / 0.6434 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.663, allocations: 31.83 kB / 0.6435 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.6637, allocations: 385.4 kB / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6637, allocations: 0 / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.6637, allocations: 8 kB / 0.6438 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.6637, allocations: 8 kB / 0.6438 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.6643, allocations: 403.8 kB / 0.6442 GB, free: 10.29 MB / 494.1 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.001741/0.6661, allocations: 0.8008 MB / 0.645 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.6665, allocations: 223.3 kB / 0.6452 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.6667, allocations: 125.7 kB / 0.6453 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/0.6686, allocations: 0.8932 MB / 0.6462 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.6686, allocations: 42.48 kB / 0.6463 GB, free: 7.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.6686, allocations: 3.938 kB / 0.6463 GB, free: 7.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001241/0.6699, allocations: 365.8 kB / 0.6466 GB, free: 7.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.67, allocations: 85.11 kB / 0.6467 GB, free: 7.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.6701, allocations: 105.8 kB / 0.6468 GB, free: 7.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.6701, allocations: 33.7 kB / 0.6468 GB, free: 7.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.6702, allocations: 112.3 kB / 0.6469 GB, free: 7.238 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6703, allocations: 106.5 kB / 0.647 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6704, allocations: 65.92 kB / 0.6471 GB, free: 7.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6705, allocations: 326.8 kB / 0.6474 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.6707, allocations: 96.61 kB / 0.6475 GB, free: 6.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.671, allocations: 183.5 kB / 0.6477 GB, free: 6.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.6715, allocations: 307.7 kB / 0.648 GB, free: 6.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6715, allocations: 0 / 0.648 GB, free: 6.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006392/0.6722, allocations: 344.1 kB / 0.6483 GB, free: 5.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.6722, allocations: 8 kB / 0.6483 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6722, allocations: 320 / 0.6483 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6722, allocations: 12 kB / 0.6483 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.6726, allocations: 67.91 kB / 0.6484 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.6726, allocations: 7.938 kB / 0.6484 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.6728, allocations: 35.61 kB / 0.6484 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.6729, allocations: 20 kB / 0.6484 GB, free: 5.602 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.6731, allocations: 145.7 kB / 0.6486 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6732, allocations: 11.91 kB / 0.6486 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.6738, allocations: 319.7 kB / 0.6489 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.6739, allocations: 4 kB / 0.6489 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6739, allocations: 7.25 kB / 0.6489 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6739, allocations: 4 kB / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.6745, allocations: 331 kB / 0.6492 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6745, allocations: 0 / 0.6492 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.6748, allocations: 55.91 kB / 0.6493 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.6748, allocations: 0 / 0.6493 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.6749, allocations: 19.92 kB / 0.6493 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.6749, allocations: 4.312 kB / 0.6493 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6749, allocations: 0 / 0.6493 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.6756, allocations: 0.5111 MB / 0.6498 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.6757, allocations: 88.95 kB / 0.6499 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.6757, allocations: 8.062 kB / 0.6499 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.6761, allocations: 11.98 kB / 0.6499 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.6761, allocations: 19.98 kB / 0.6499 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.6762, allocations: 11.98 kB / 0.6499 GB, free: 3.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.6762, allocations: 103.2 kB / 0.65 GB, free: 3.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6762, allocations: 0 / 0.65 GB, free: 3.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008795/0.6771, allocations: 231.7 kB / 0.6503 GB, free: 3.648 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002053/0.6792, allocations: 1.364 MB / 0.6516 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.6797, allocations: 255.7 kB / 0.6518 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6797, allocations: 3.938 kB / 0.6518 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.6799, allocations: 128.1 kB / 0.652 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.6806, allocations: 84.77 kB / 0.652 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.6841, allocations: 2.662 MB / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.6844, allocations: 0.7363 MB / 0.6554 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.6847, allocations: 73.97 kB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6849, allocations: 55.42 kB / 0.6555 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.6849, allocations: 4 kB / 0.6555 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.7206, allocations: 10.59 MB / 0.6658 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.598, allocations: 7.219 kB / 0.6658 GB, free: 3.492 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches