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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 169.9 kB / 23.31 MB, free: 1.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9253/0.9253, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1412/0.1412, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.722e-05, allocations: 6.078 kB / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4303/0.4303, allocations: 130.1 MB / 0.5245 GB, free: 24.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.4338, allocations: 2.73 MB / 0.5272 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.4339, allocations: 1.094 kB / 0.5272 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.4344, allocations: 65.69 kB / 0.5272 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.4378, allocations: 1.058 MB / 0.5283 GB, free: 22.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.4385, allocations: 190.9 kB / 0.5285 GB, free: 22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.4391, allocations: 363.8 kB / 0.5288 GB, free: 21.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.4392, allocations: 10.19 kB / 0.5288 GB, free: 21.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.4397, allocations: 196.2 kB / 0.529 GB, free: 21.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.4399, allocations: 107.6 kB / 0.5291 GB, free: 21.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.4399, allocations: 12.47 kB / 0.5291 GB, free: 21.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.443, allocations: 1.301 MB / 0.5304 GB, free: 21.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4432, allocations: 78.12 kB / 0.5305 GB, free: 21.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.4433, allocations: 80.23 kB / 0.5305 GB, free: 21.24 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.445, allocations: 1.042 MB / 0.5316 GB, free: 20.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.445, allocations: 4 kB / 0.5316 GB, free: 20.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.445, allocations: 0 / 0.5316 GB, free: 20.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.445, allocations: 1.125 kB / 0.5316 GB, free: 20.95 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.0008148/0.4459, allocations: 488.7 kB / 0.532 GB, free: 20.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.4459, allocations: 9.25 kB / 0.532 GB, free: 20.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.446, allocations: 54.94 kB / 0.5321 GB, free: 20.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.4469, allocations: 202.5 kB / 0.5323 GB, free: 20.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.4472, allocations: 186.2 kB / 0.5325 GB, free: 20.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4472, allocations: 12.06 kB / 0.5325 GB, free: 20.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4472, allocations: 24.2 kB / 0.5325 GB, free: 20.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.4478, allocations: 0.5774 MB / 0.5331 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4478, allocations: 3.938 kB / 0.5331 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.4478, allocations: 9.812 kB / 0.5331 GB, free: 19.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4478, allocations: 5.344 kB / 0.5331 GB, free: 19.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.4483, allocations: 405.9 kB / 0.5335 GB, free: 19.82 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.001186/0.4495, allocations: 0.7475 MB / 0.5342 GB, free: 19.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.4498, allocations: 223.3 kB / 0.5344 GB, free: 19.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.4499, allocations: 112.7 kB / 0.5345 GB, free: 19.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/0.4509, allocations: 300.9 kB / 0.5348 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4509, allocations: 48.53 kB / 0.5348 GB, free: 19.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.4509, allocations: 0 / 0.5348 GB, free: 19.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008338/0.4518, allocations: 365.5 kB / 0.5352 GB, free: 18.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4518, allocations: 80.3 kB / 0.5353 GB, free: 18.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.4519, allocations: 115.4 kB / 0.5354 GB, free: 18.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4519, allocations: 30.95 kB / 0.5354 GB, free: 18.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.452, allocations: 118.7 kB / 0.5355 GB, free: 18.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.452, allocations: 116.7 kB / 0.5356 GB, free: 18.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.4521, allocations: 57.78 kB / 0.5357 GB, free: 18.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.4522, allocations: 331.4 kB / 0.536 GB, free: 18.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4523, allocations: 97.55 kB / 0.5361 GB, free: 18.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4525, allocations: 181.8 kB / 0.5363 GB, free: 17.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.4529, allocations: 308.1 kB / 0.5366 GB, free: 17.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4529, allocations: 1.375 kB / 0.5366 GB, free: 17.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004152/0.4533, allocations: 337.3 kB / 0.5369 GB, free: 17.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4533, allocations: 12.16 kB / 0.5369 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4533, allocations: 6.875 kB / 0.5369 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4533, allocations: 7.328 kB / 0.5369 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4535, allocations: 70.05 kB / 0.537 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4535, allocations: 5.312 kB / 0.537 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4536, allocations: 37.88 kB / 0.537 GB, free: 17.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.4537, allocations: 16 kB / 0.537 GB, free: 17.6 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/0.4538, allocations: 138.8 kB / 0.5372 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.4538, allocations: 18.92 kB / 0.5372 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.4542, allocations: 320.4 kB / 0.5375 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4542, allocations: 11.75 kB / 0.5375 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4542, allocations: 3.125 kB / 0.5375 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4543, allocations: 4 kB / 0.5375 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.4546, allocations: 283.3 kB / 0.5378 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4546, allocations: 0 / 0.5378 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4547, allocations: 57.88 kB / 0.5378 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4548, allocations: 6.594 kB / 0.5378 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.4548, allocations: 6.969 kB / 0.5379 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4548, allocations: 5.125 kB / 0.5379 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4548, allocations: 0 / 0.5379 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.4553, allocations: 0.503 MB / 0.5383 GB, free: 16.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.4553, allocations: 25.25 kB / 0.5384 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4553, allocations: 9.828 kB / 0.5384 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4555, allocations: 10.64 kB / 0.5384 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.4555, allocations: 21.98 kB / 0.5384 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.4555, allocations: 19.7 kB / 0.5384 GB, free: 16.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.4556, allocations: 90.23 kB / 0.5385 GB, free: 16.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4556, allocations: 0 / 0.5385 GB, free: 16.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001038/0.4566, allocations: 222.9 kB / 0.5387 GB, free: 16.61 MB / 442.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 (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.001376/0.458, allocations: 1.389 MB / 0.5401 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.4584, allocations: 243.1 kB / 0.5403 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4584, allocations: 6.938 kB / 0.5403 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4585, allocations: 119.2 kB / 0.5404 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.4589, allocations: 84.92 kB / 0.5405 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.4611, allocations: 2.533 MB / 0.543 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.4612, allocations: 121.1 kB / 0.5431 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.4614, allocations: 81.16 kB / 0.5432 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4615, allocations: 61.95 kB / 0.5432 GB, free: 13.42 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.4615, allocations: 0 / 0.5432 GB, free: 13.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.4994, allocations: 11.59 MB / 0.5546 GB, free: 8.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.637, allocations: 0 / 0.5546 GB, free: 8.84 MB / 442.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.92449475824833]