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.0009652/0.0009652, allocations: 80.34 kB / 20.67 MB, free: 3.879 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.0009261/0.0009261, allocations: 160.9 kB / 23.94 MB, free: 0.6055 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.9371/0.9371, allocations: 177.1 MB / 204.2 MB, free: 5.758 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.2704/0.2704, allocations: 34.25 MB / 294.9 MB, free: 0.6953 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 1.654e-06/1.654e-06, allocations: 0 / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.382e-05, allocations: 9.031 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3405/0.3406, allocations: 131.8 MB / 0.5606 GB, free: 12.77 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.3435, allocations: 2.912 MB / 0.5634 GB, free: 9.844 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.3436, allocations: 4 kB / 0.5634 GB, free: 9.84 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3441, allocations: 63.53 kB / 0.5635 GB, free: 9.777 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.3462, allocations: 1.096 MB / 0.5645 GB, free: 8.676 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.3466, allocations: 207.2 kB / 0.5647 GB, free: 8.48 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3469, allocations: 360.5 kB / 0.5651 GB, free: 8.129 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.347, allocations: 9.312 kB / 0.5651 GB, free: 8.121 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3472, allocations: 210.7 kB / 0.5653 GB, free: 7.918 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.3474, allocations: 111.7 kB / 0.5654 GB, free: 7.809 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3474, allocations: 12 kB / 0.5654 GB, free: 7.797 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3494, allocations: 1.34 MB / 0.5667 GB, free: 6.453 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3495, allocations: 79.77 kB / 0.5668 GB, free: 6.375 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/0.3496, allocations: 91.81 kB / 0.5669 GB, free: 6.285 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3509, allocations: 1.076 MB / 0.5679 GB, free: 5.207 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3509, allocations: 0 / 0.5679 GB, free: 5.207 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3509, allocations: 0 / 0.5679 GB, free: 5.207 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3509, allocations: 0 / 0.5679 GB, free: 5.207 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.0008032/0.3517, allocations: 0.49 MB / 0.5684 GB, free: 4.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3517, allocations: 12.02 kB / 0.5684 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.3518, allocations: 54.73 kB / 0.5685 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.3527, allocations: 208.6 kB / 0.5687 GB, free: 4.414 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3529, allocations: 193.5 kB / 0.5688 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3529, allocations: 12.75 kB / 0.5689 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.353, allocations: 27.94 kB / 0.5689 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.3538, allocations: 0.5842 MB / 0.5695 GB, free: 3.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3538, allocations: 3.938 kB / 0.5695 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3538, allocations: 4 kB / 0.5695 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.3539, allocations: 8 kB / 0.5695 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.3543, allocations: 416.5 kB / 0.5699 GB, free: 3.098 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.001135/0.3554, allocations: 0.7582 MB / 0.5706 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.3557, allocations: 228.5 kB / 0.5708 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3558, allocations: 117.7 kB / 0.5709 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008414/0.3566, allocations: 313 kB / 0.5712 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3567, allocations: 38.56 kB / 0.5713 GB, free: 1.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.3567, allocations: 0 / 0.5713 GB, free: 1.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007892/0.3575, allocations: 389.1 kB / 0.5716 GB, free: 1.203 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3575, allocations: 81.11 kB / 0.5717 GB, free: 1.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.3576, allocations: 120.1 kB / 0.5718 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3576, allocations: 37.64 kB / 0.5719 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.3577, allocations: 113.1 kB / 0.572 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.3578, allocations: 115 kB / 0.5721 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3579, allocations: 66.02 kB / 0.5722 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.358, allocations: 326.8 kB / 0.5725 GB, free: 320 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3581, allocations: 100.3 kB / 0.5726 GB, free: 220 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3583, allocations: 186.9 kB / 0.5727 GB, free: 16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.3586, allocations: 316.7 kB / 0.573 GB, free: 15.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3586, allocations: 4 kB / 0.573 GB, free: 15.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000412/0.359, allocations: 358 kB / 0.5734 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.359, allocations: 6.812 kB / 0.5734 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.359, allocations: 4 kB / 0.5734 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3591, allocations: 4 kB / 0.5734 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3593, allocations: 76.2 kB / 0.5735 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.3593, allocations: 10.81 kB / 0.5735 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3594, allocations: 23.84 kB / 0.5735 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.3594, allocations: 30.55 kB / 0.5735 GB, free: 15.15 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.0001143/0.3595, allocations: 141.7 kB / 0.5737 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.3596, allocations: 23.83 kB / 0.5737 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.3601, allocations: 334.1 kB / 0.574 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3601, allocations: 4 kB / 0.574 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3601, allocations: 0 / 0.574 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3601, allocations: 0 / 0.574 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.3605, allocations: 282.4 kB / 0.5743 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3605, allocations: 4 kB / 0.5743 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3606, allocations: 55.91 kB / 0.5743 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3606, allocations: 0 / 0.5743 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3607, allocations: 15.98 kB / 0.5744 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3607, allocations: 1.562 kB / 0.5744 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3607, allocations: 0 / 0.5744 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.3612, allocations: 0.5308 MB / 0.5749 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.3612, allocations: 19.81 kB / 0.5749 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3613, allocations: 8.062 kB / 0.5749 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3614, allocations: 11.98 kB / 0.5749 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3614, allocations: 27.97 kB / 0.5749 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3615, allocations: 15.98 kB / 0.575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.3615, allocations: 91.2 kB / 0.575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3615, allocations: 0 / 0.575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006919/0.3622, allocations: 247.3 kB / 0.5753 GB, free: 13.3 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.001893/0.3641, allocations: 1.418 MB / 0.5767 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.3645, allocations: 263.7 kB / 0.5769 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3645, allocations: 0 / 0.5769 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3646, allocations: 136.3 kB / 0.577 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3651, allocations: 87.33 kB / 0.5771 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3674, allocations: 2.586 MB / 0.5797 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3676, allocations: 127.9 kB / 0.5798 GB, free: 8.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.3678, allocations: 81.89 kB / 0.5799 GB, free: 8.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.3679, allocations: 64.48 kB / 0.5799 GB, free: 8.367 MB / 490.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3679, allocations: 0 / 0.5799 GB, free: 8.367 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3975, allocations: 11.97 MB / 0.5916 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.444, allocations: 10.23 kB / 0.5916 GB, free: 12.58 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.66421386692673]