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.001745/0.001745, allocations: 109.3 kB / 16.41 MB, free: 6.5 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.001946/0.001946, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.222/0.222, allocations: 43.54 MB / 314.1 MB, free: 464 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.002061/0.002061, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4549/0.5945, allocations: 151.2 MB / 0.635 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.5988, allocations: 3.028 MB / 0.638 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.599, allocations: 4 kB / 0.638 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.5995, allocations: 59.64 kB / 0.6381 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.6033, allocations: 1.011 MB / 0.639 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.6041, allocations: 191.6 kB / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007433/0.6048, allocations: 354.5 kB / 0.6396 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.6049, allocations: 13.12 kB / 0.6396 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.6054, allocations: 150.8 kB / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.6058, allocations: 111.6 kB / 0.6398 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.6059, allocations: 12 kB / 0.6398 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.6094, allocations: 1.457 MB / 0.6413 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.6095, allocations: 79.72 kB / 0.6413 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.6097, allocations: 107.6 kB / 0.6414 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.6119, allocations: 0.9777 MB / 0.6424 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6119, allocations: 0 / 0.6424 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6119, allocations: 4 kB / 0.6424 GB, free: 12.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.6119, allocations: 3.469 kB / 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.0009945/0.6129, allocations: 0.5486 MB / 0.6429 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6129, allocations: 11.89 kB / 0.643 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.613, allocations: 58.73 kB / 0.643 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.6143, allocations: 200.6 kB / 0.6432 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.6147, allocations: 252.1 kB / 0.6434 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.6147, allocations: 16.73 kB / 0.6435 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.6148, allocations: 23.94 kB / 0.6435 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.6154, allocations: 381.4 kB / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6154, allocations: 0 / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.6155, allocations: 12 kB / 0.6439 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.6155, allocations: 4 kB / 0.6439 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.6161, 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.001656/0.6178, allocations: 0.8164 MB / 0.645 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.6182, allocations: 220.3 kB / 0.6453 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.6184, allocations: 121.9 kB / 0.6454 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.6201, allocations: 0.901 MB / 0.6462 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.6202, allocations: 46.48 kB / 0.6463 GB, free: 7.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.6202, allocations: 0 / 0.6463 GB, free: 7.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001179/0.6214, allocations: 358 kB / 0.6466 GB, free: 7.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.6214, allocations: 85.11 kB / 0.6467 GB, free: 7.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6216, allocations: 113.8 kB / 0.6468 GB, free: 7.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6216, allocations: 33.7 kB / 0.6469 GB, free: 7.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.6217, allocations: 116.5 kB / 0.647 GB, free: 7.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.6218, allocations: 111.1 kB / 0.6471 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6219, allocations: 62.02 kB / 0.6471 GB, free: 7.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6221, allocations: 322.8 kB / 0.6474 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.6223, allocations: 92.61 kB / 0.6475 GB, free: 6.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.6225, allocations: 191.5 kB / 0.6477 GB, free: 6.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.623, allocations: 306 kB / 0.648 GB, free: 6.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.623, allocations: 0 / 0.648 GB, free: 6.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006305/0.6237, allocations: 342.6 kB / 0.6483 GB, free: 5.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6237, allocations: 4 kB / 0.6483 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6237, allocations: 4 kB / 0.6483 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6237, allocations: 8.25 kB / 0.6483 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.6241, allocations: 75.91 kB / 0.6484 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.6241, allocations: 11.92 kB / 0.6484 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.6243, allocations: 27.78 kB / 0.6485 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.6244, allocations: 16 kB / 0.6485 GB, free: 5.59 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.0001466/0.6245, allocations: 145.7 kB / 0.6486 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.6246, allocations: 11.95 kB / 0.6486 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.6253, allocations: 328.9 kB / 0.6489 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6253, allocations: 4 kB / 0.6489 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6253, allocations: 0 / 0.6489 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.6253, allocations: 7.984 kB / 0.6489 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.6259, allocations: 331.1 kB / 0.6493 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6259, allocations: 1.25 kB / 0.6493 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.6262, allocations: 55.84 kB / 0.6493 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6262, allocations: 4 kB / 0.6493 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.6263, allocations: 11.98 kB / 0.6493 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6263, allocations: 0 / 0.6493 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6263, allocations: 4 kB / 0.6493 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.627, allocations: 0.5151 MB / 0.6498 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.6271, allocations: 92.95 kB / 0.6499 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.6272, allocations: 8.938 kB / 0.6499 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.6275, allocations: 11.98 kB / 0.6499 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.6275, allocations: 15.97 kB / 0.65 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.6276, allocations: 16 kB / 0.65 GB, free: 3.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.6276, allocations: 95.25 kB / 0.6501 GB, free: 3.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6276, allocations: 4 kB / 0.6501 GB, free: 3.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007871/0.6284, allocations: 223.4 kB / 0.6503 GB, free: 3.637 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.001937/0.6304, allocations: 1.373 MB / 0.6516 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.6309, allocations: 263.3 kB / 0.6519 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6309, allocations: 0 / 0.6519 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.6311, allocations: 125.1 kB / 0.652 GB, free: 1.863 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.6318, allocations: 86.81 kB / 0.6521 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.6352, allocations: 2.677 MB / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.6356, allocations: 0.7324 MB / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002963/0.6359, allocations: 73.97 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.6361, allocations: 67.41 kB / 0.6555 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.6361, allocations: 0 / 0.6555 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.6722, allocations: 10.52 MB / 0.6658 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.845, allocations: 11.2 kB / 0.6658 GB, free: 3.52 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