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.001657/0.001657, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001505/0.001505, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2243/0.2243, allocations: 46.92 MB / 360.9 MB, free: 4.273 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.89 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 66.03 MB / 0.5606 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1882/0.5516, allocations: 153.3 MB / 0.7103 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.556, allocations: 3.251 MB / 0.7135 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.5561, allocations: 0 / 0.7135 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.5565, allocations: 63.62 kB / 0.7136 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.5594, allocations: 1.112 MB / 0.7146 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.56, allocations: 206.8 kB / 0.7148 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.5606, allocations: 378.6 kB / 0.7152 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.5607, allocations: 13.28 kB / 0.7152 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.5611, allocations: 159.5 kB / 0.7154 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.5614, allocations: 123.5 kB / 0.7155 GB, free: 5.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.5614, allocations: 12 kB / 0.7155 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.5647, allocations: 1.644 MB / 0.7171 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.5648, allocations: 79.77 kB / 0.7172 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.565, allocations: 111.5 kB / 0.7173 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.5672, allocations: 1.027 MB / 0.7183 GB, free: 2.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5672, allocations: 0 / 0.7183 GB, free: 2.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5672, allocations: 0 / 0.7183 GB, free: 2.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5672, allocations: 0 / 0.7183 GB, free: 2.406 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.001223/0.5685, allocations: 497.1 kB / 0.7188 GB, free: 1.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5685, allocations: 8.031 kB / 0.7188 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.666e-05/0.5686, allocations: 62.72 kB / 0.7188 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5701, allocations: 200.6 kB / 0.719 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.5705, allocations: 201.8 kB / 0.7192 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5705, allocations: 20.36 kB / 0.7192 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.5705, allocations: 16 kB / 0.7193 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.5712, allocations: 392.1 kB / 0.7196 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5712, allocations: 4 kB / 0.7196 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.5712, allocations: 8 kB / 0.7196 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.5713, allocations: 11.98 kB / 0.7196 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.5719, allocations: 423.1 kB / 0.7201 GB, free: 0.5352 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.001885/0.5738, allocations: 0.7933 MB / 0.7208 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.5742, allocations: 217.1 kB / 0.721 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.5744, allocations: 125.6 kB / 0.7212 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.576, allocations: 321.7 kB / 0.7215 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.5761, allocations: 38.5 kB / 0.7215 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.5761, allocations: 0 / 0.7215 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001216/0.5773, allocations: 381.9 kB / 0.7219 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5773, allocations: 81.11 kB / 0.7219 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.5775, allocations: 117.8 kB / 0.722 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.5775, allocations: 29.7 kB / 0.7221 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.5776, allocations: 108.6 kB / 0.7222 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.5777, allocations: 126.9 kB / 0.7223 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5778, allocations: 58.03 kB / 0.7224 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5779, allocations: 334.8 kB / 0.7227 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.5781, allocations: 100.1 kB / 0.7228 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.5784, allocations: 186.9 kB / 0.723 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.579, allocations: 324.2 kB / 0.7233 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.579, allocations: 0 / 0.7233 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007115/0.5797, allocations: 357.1 kB / 0.7236 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5797, allocations: 4 kB / 0.7236 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5797, allocations: 4 kB / 0.7236 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.5797, allocations: 8.312 kB / 0.7236 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.5801, allocations: 67.91 kB / 0.7237 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.5801, allocations: 7.938 kB / 0.7237 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.5803, allocations: 35.7 kB / 0.7237 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.5804, allocations: 16 kB / 0.7237 GB, free: 12.55 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.0001571/0.5805, allocations: 149.6 kB / 0.7239 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5806, allocations: 19.91 kB / 0.7239 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006885/0.5813, allocations: 332.2 kB / 0.7242 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.5813, allocations: 4 kB / 0.7242 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5813, allocations: 8 kB / 0.7242 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5813, allocations: 3.984 kB / 0.7242 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.582, allocations: 310.1 kB / 0.7245 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.582, allocations: 0 / 0.7245 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.5823, allocations: 63.84 kB / 0.7246 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5823, allocations: 0 / 0.7246 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.5824, allocations: 8 kB / 0.7246 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.5824, allocations: 4 kB / 0.7246 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5824, allocations: 0 / 0.7246 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.5832, allocations: 0.5347 MB / 0.7251 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.5832, allocations: 15.89 kB / 0.7251 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.5833, allocations: 8.047 kB / 0.7251 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.5836, allocations: 15.98 kB / 0.7252 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5836, allocations: 23.95 kB / 0.7252 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.5837, allocations: 27.86 kB / 0.7252 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.5837, allocations: 87.58 kB / 0.7253 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5837, allocations: 0 / 0.7253 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008523/0.5846, allocations: 247.4 kB / 0.7255 GB, free: 10.64 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.002332/0.5869, allocations: 1.402 MB / 0.7269 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.5874, allocations: 260.1 kB / 0.7271 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5874, allocations: 128 / 0.7271 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.5877, allocations: 146.2 kB / 0.7273 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.5883, allocations: 92.27 kB / 0.7274 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.5921, allocations: 2.722 MB / 0.73 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5925, allocations: 0.7401 MB / 0.7308 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.5928, allocations: 74.02 kB / 0.7308 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.593, allocations: 63.41 kB / 0.7309 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.593, allocations: 0 / 0.7309 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2933/0.8863, allocations: 11.25 MB / 0.7419 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.8, allocations: 0 / 0.7419 GB, free: 171.6 MB / 0.5606 GB " [Timeout remaining time 648] (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: 14.713379500899464]