Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001326/0.001326, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001446/0.001446, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.24/0.24, allocations: 46.93 MB / 361.6 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00294/0.00294, allocations: 63.89 kB / 0.4969 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3725, allocations: 66.04 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1816/0.5541, allocations: 153.3 MB / 0.7111 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004075/0.5582, allocations: 3.267 MB / 0.7143 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.5583, allocations: 0 / 0.7143 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.5586, allocations: 63.58 kB / 0.7143 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.5615, allocations: 1.112 MB / 0.7154 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.5621, allocations: 206.8 kB / 0.7156 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.5626, allocations: 374.6 kB / 0.716 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.5627, allocations: 9.297 kB / 0.716 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.563, allocations: 167.4 kB / 0.7161 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.5633, allocations: 119.5 kB / 0.7163 GB, free: 5.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.5633, allocations: 12 kB / 0.7163 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.5663, allocations: 1.644 MB / 0.7179 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.5664, allocations: 87.7 kB / 0.718 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.5665, allocations: 111.6 kB / 0.7181 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.5682, allocations: 1.019 MB / 0.7191 GB, free: 2.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5682, allocations: 0 / 0.7191 GB, free: 2.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5682, allocations: 0 / 0.7191 GB, free: 2.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.5682, allocations: 4 kB / 0.7191 GB, free: 2.438 MB / 0.545 GB 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.0008898/0.5691, allocations: 493.1 kB / 0.7195 GB, free: 1.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5691, allocations: 12.03 kB / 0.7195 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.663e-05/0.5691, allocations: 4.562 kB / 0.7195 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.5692, allocations: 54.73 kB / 0.7196 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.5706, allocations: 208.6 kB / 0.7198 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.571, allocations: 201.6 kB / 0.72 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.571, allocations: 20.31 kB / 0.72 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.5711, allocations: 20 kB / 0.72 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.5717, allocations: 388.1 kB / 0.7204 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5717, allocations: 7.984 kB / 0.7204 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.5718, allocations: 4 kB / 0.7204 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.5718, allocations: 12 kB / 0.7204 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.5724, allocations: 424.4 kB / 0.7208 GB, free: 0.5586 MB / 0.545 GB 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.00172/0.5741, allocations: 0.7932 MB / 0.7216 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.5746, allocations: 221.1 kB / 0.7218 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.5747, allocations: 117.7 kB / 0.7219 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.5762, allocations: 317.7 kB / 0.7222 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.5763, allocations: 42.5 kB / 0.7223 GB, free: 15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.5763, allocations: 0 / 0.7223 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001248/0.5775, allocations: 384.5 kB / 0.7226 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.5776, allocations: 81.11 kB / 0.7227 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.5777, allocations: 117.8 kB / 0.7228 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.5777, allocations: 29.7 kB / 0.7229 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.5778, allocations: 112.6 kB / 0.723 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.5779, allocations: 123 kB / 0.7231 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.578, allocations: 62.02 kB / 0.7231 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5782, allocations: 334.7 kB / 0.7235 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.5784, allocations: 104 kB / 0.7236 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.5786, allocations: 190.8 kB / 0.7237 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.5791, allocations: 307.8 kB / 0.724 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5791, allocations: 0 / 0.724 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006612/0.5798, allocations: 361.1 kB / 0.7244 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5798, allocations: 4 kB / 0.7244 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5798, allocations: 4 kB / 0.7244 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5798, allocations: 4 kB / 0.7244 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.5802, allocations: 79.83 kB / 0.7245 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5802, allocations: 4.312 kB / 0.7245 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.5804, allocations: 31.78 kB / 0.7245 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.5805, allocations: 19.98 kB / 0.7245 GB, free: 12.57 MB / 0.5606 GB 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.0001523/0.5806, allocations: 141.7 kB / 0.7247 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5807, allocations: 27.89 kB / 0.7247 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.5814, allocations: 328.7 kB / 0.725 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5815, allocations: 4 kB / 0.725 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5815, allocations: 4 kB / 0.725 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5815, allocations: 0 / 0.725 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.5821, allocations: 310.1 kB / 0.7253 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5821, allocations: 4 kB / 0.7253 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.5824, allocations: 63.89 kB / 0.7254 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5824, allocations: 3.938 kB / 0.7254 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.5824, allocations: 8 kB / 0.7254 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.5824, allocations: 4 kB / 0.7254 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5825, allocations: 7.984 kB / 0.7254 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.5833, allocations: 0.5386 MB / 0.7259 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.5833, allocations: 15.89 kB / 0.7259 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.5833, allocations: 4.062 kB / 0.7259 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.5837, allocations: 15.98 kB / 0.7259 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5837, allocations: 23.91 kB / 0.726 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.5837, allocations: 15.98 kB / 0.726 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.5838, allocations: 91.56 kB / 0.7261 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5838, allocations: 0 / 0.7261 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008333/0.5846, allocations: 243.4 kB / 0.7263 GB, free: 10.66 MB / 0.5606 GB 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.002155/0.5868, allocations: 1.402 MB / 0.7277 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.5874, allocations: 259.7 kB / 0.7279 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5874, allocations: 0 / 0.7279 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5876, allocations: 140.3 kB / 0.7281 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.5883, allocations: 84.31 kB / 0.7281 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.592, allocations: 2.735 MB / 0.7308 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.5923, allocations: 0.7362 MB / 0.7315 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.5927, allocations: 77.95 kB / 0.7316 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.5928, allocations: 63.41 kB / 0.7317 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.5928, allocations: 0 / 0.7317 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3477/0.9405, allocations: 11.28 MB / 0.7427 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.34, allocations: 7.875 kB / 0.7427 GB, free: 171.7 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.528051160974428]