Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008934/0.0008934, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9018/0.9018, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2659/0.2659, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.528e-05, allocations: 6.219 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3397/0.3398, allocations: 131.8 MB / 0.5605 GB, free: 12.69 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3424, allocations: 2.92 MB / 0.5634 GB, free: 9.762 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.3424, allocations: 0 / 0.5634 GB, free: 9.762 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.3428, allocations: 59.61 kB / 0.5634 GB, free: 9.703 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.3453, allocations: 1.119 MB / 0.5645 GB, free: 8.578 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.3458, allocations: 208.8 kB / 0.5647 GB, free: 8.379 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.3462, allocations: 376.3 kB / 0.5651 GB, free: 8.012 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.447e-05/0.3463, allocations: 9.312 kB / 0.5651 GB, free: 8.004 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.3466, allocations: 206.5 kB / 0.5653 GB, free: 7.805 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3467, allocations: 111.7 kB / 0.5654 GB, free: 7.695 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3467, allocations: 15.94 kB / 0.5654 GB, free: 7.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.3491, allocations: 1.351 MB / 0.5667 GB, free: 6.324 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3492, allocations: 87.77 kB / 0.5668 GB, free: 6.238 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.3493, allocations: 79.88 kB / 0.5669 GB, free: 6.16 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3506, allocations: 1.076 MB / 0.5679 GB, free: 5.082 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3506, allocations: 3.984 kB / 0.5679 GB, free: 5.078 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3506, allocations: 4 kB / 0.568 GB, free: 5.074 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3506, allocations: 3.938 kB / 0.568 GB, free: 5.07 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007021/0.3513, allocations: 489.8 kB / 0.5684 GB, free: 4.566 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3513, allocations: 8.031 kB / 0.5684 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.3514, allocations: 54.73 kB / 0.5685 GB, free: 4.496 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.3522, allocations: 208.6 kB / 0.5687 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3525, allocations: 205.4 kB / 0.5689 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3525, allocations: 12.75 kB / 0.5689 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3526, allocations: 27.88 kB / 0.5689 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.3531, allocations: 0.5842 MB / 0.5695 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3531, allocations: 0 / 0.5695 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.3531, allocations: 4 kB / 0.5695 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.3532, allocations: 12 kB / 0.5695 GB, free: 3.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.3536, allocations: 420.4 kB / 0.5699 GB, free: 2.961 MB / 474.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.001581/0.3552, allocations: 0.7621 MB / 0.5706 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3555, allocations: 216.6 kB / 0.5709 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3556, allocations: 129.6 kB / 0.571 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008205/0.3564, allocations: 305 kB / 0.5713 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3564, allocations: 38.56 kB / 0.5713 GB, free: 1.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.835e-06/0.3564, allocations: 0 / 0.5713 GB, free: 1.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008551/0.3573, allocations: 390.9 kB / 0.5717 GB, free: 1.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3573, allocations: 85.11 kB / 0.5718 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.3574, allocations: 116.9 kB / 0.5719 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3575, allocations: 33.7 kB / 0.5719 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.3575, allocations: 112.5 kB / 0.572 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.3576, allocations: 115 kB / 0.5721 GB, free: 0.582 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.3577, allocations: 66.02 kB / 0.5722 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3578, allocations: 326.8 kB / 0.5725 GB, free: 188 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3579, allocations: 100.3 kB / 0.5726 GB, free: 88 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3581, allocations: 190.9 kB / 0.5728 GB, free: 15.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3585, allocations: 310.9 kB / 0.5731 GB, free: 15.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3585, allocations: 0 / 0.5731 GB, free: 15.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004222/0.3589, allocations: 371.5 kB / 0.5734 GB, free: 15.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3589, allocations: 4 kB / 0.5734 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3589, allocations: 4 kB / 0.5734 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3589, allocations: 4 kB / 0.5734 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3591, allocations: 75.83 kB / 0.5735 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3591, allocations: 4.312 kB / 0.5735 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3592, allocations: 31.84 kB / 0.5735 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.3593, allocations: 22.61 kB / 0.5736 GB, free: 15.02 MB / 490.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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001112/0.3594, allocations: 141.7 kB / 0.5737 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.3594, allocations: 19.84 kB / 0.5737 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3599, allocations: 341.8 kB / 0.574 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3599, allocations: 4 kB / 0.574 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3599, allocations: 0 / 0.574 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3599, allocations: 0 / 0.574 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3603, allocations: 278.3 kB / 0.5743 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3603, allocations: 4 kB / 0.5743 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3605, allocations: 51.91 kB / 0.5744 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3605, allocations: 8 kB / 0.5744 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3605, allocations: 15.98 kB / 0.5744 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3605, allocations: 2.422 kB / 0.5744 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3605, allocations: 0 / 0.5744 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.361, allocations: 0.5307 MB / 0.5749 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.361, allocations: 11.89 kB / 0.5749 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3611, allocations: 14.73 kB / 0.5749 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3612, allocations: 16 kB / 0.5749 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3613, allocations: 19.95 kB / 0.575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.3613, allocations: 19.98 kB / 0.575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.3613, allocations: 91.27 kB / 0.5751 GB, free: 13.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 0 / 0.5751 GB, free: 13.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007437/0.3621, allocations: 243.3 kB / 0.5753 GB, free: 13.17 MB / 490.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.00163/0.3637, allocations: 1.424 MB / 0.5767 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3641, allocations: 265.7 kB / 0.5769 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3641, allocations: 0 / 0.5769 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3642, allocations: 131.7 kB / 0.5771 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3647, allocations: 92.42 kB / 0.5772 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3677, allocations: 2.586 MB / 0.5797 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.876e-05/0.3678, allocations: 123.9 kB / 0.5798 GB, free: 8.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.3681, allocations: 86.72 kB / 0.5799 GB, free: 8.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3682, allocations: 60.48 kB / 0.5799 GB, free: 8.238 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3682, allocations: 0 / 0.5799 GB, free: 8.238 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3993, allocations: 11.98 MB / 0.5916 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.509, allocations: 5.312 kB / 0.5917 GB, free: 12.45 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.701767339371145]