Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001768/0.001768, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002224/0.002224, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 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 1.55/1.55, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.89 MB / 361.1 MB, free: 4.629 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-beta.om/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: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3301, allocations: 66 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1944/0.5245, allocations: 153.3 MB / 0.7109 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.5286, allocations: 3.263 MB / 0.714 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.5287, allocations: 0 / 0.714 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.5291, allocations: 63.64 kB / 0.7141 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.5315, allocations: 1.077 MB / 0.7152 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.532, allocations: 199.5 kB / 0.7153 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.5324, allocations: 374.6 kB / 0.7157 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.5325, allocations: 9.109 kB / 0.7157 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.5328, allocations: 163.4 kB / 0.7159 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.533, allocations: 119.6 kB / 0.716 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.533, allocations: 15.98 kB / 0.716 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.5359, allocations: 1.597 MB / 0.7176 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.536, allocations: 75.78 kB / 0.7176 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.5361, allocations: 111.6 kB / 0.7177 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.5377, allocations: 1.016 MB / 0.7187 GB, free: 3.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5377, allocations: 0 / 0.7187 GB, free: 3.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5377, allocations: 0 / 0.7187 GB, free: 3.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5377, allocations: 0 / 0.7187 GB, free: 3.059 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.0009699/0.5386, allocations: 0.5646 MB / 0.7193 GB, free: 2.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5387, allocations: 12.03 kB / 0.7193 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.5402, allocations: 204.6 kB / 0.7195 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.5406, allocations: 263.7 kB / 0.7197 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5406, allocations: 16.38 kB / 0.7198 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.5407, allocations: 16 kB / 0.7198 GB, free: 1.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006569/0.5413, allocations: 392.9 kB / 0.7201 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5413, allocations: 0 / 0.7201 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.5414, allocations: 12 kB / 0.7202 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.5414, allocations: 8 kB / 0.7202 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.542, allocations: 420.4 kB / 0.7206 GB, free: 1.086 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.001807/0.5438, allocations: 0.8224 MB / 0.7214 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.5443, allocations: 228.4 kB / 0.7216 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.5445, allocations: 121.7 kB / 0.7217 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/0.5465, allocations: 0.9801 MB / 0.7227 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.5466, allocations: 38.56 kB / 0.7227 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.5466, allocations: 0 / 0.7227 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001311/0.5479, allocations: 380.2 kB / 0.7231 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.5479, allocations: 89.11 kB / 0.7231 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.548, allocations: 117.7 kB / 0.7233 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.5481, allocations: 33.7 kB / 0.7233 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.5481, allocations: 112.5 kB / 0.7234 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.5483, allocations: 122.9 kB / 0.7235 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.5484, allocations: 62.03 kB / 0.7236 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5485, allocations: 330.8 kB / 0.7239 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.5487, allocations: 108.1 kB / 0.724 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.549, allocations: 186.9 kB / 0.7242 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.5495, allocations: 310.1 kB / 0.7245 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5495, allocations: 3.938 kB / 0.7245 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007151/0.5502, allocations: 354.8 kB / 0.7248 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5503, allocations: 8.312 kB / 0.7248 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5503, allocations: 8 kB / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5503, allocations: 4 kB / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.5507, allocations: 71.91 kB / 0.7249 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5507, allocations: 4 kB / 0.7249 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.5509, allocations: 27.83 kB / 0.7249 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.5509, allocations: 16 kB / 0.7249 GB, free: 12.22 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.0001575/0.5511, allocations: 145.6 kB / 0.7251 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5512, allocations: 19.91 kB / 0.7251 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.5519, allocations: 334.1 kB / 0.7254 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5519, allocations: 8 kB / 0.7254 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5519, allocations: 3.938 kB / 0.7254 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5519, allocations: 7.984 kB / 0.7254 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.5526, allocations: 339.1 kB / 0.7258 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5526, allocations: 0 / 0.7258 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.5529, allocations: 51.91 kB / 0.7258 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5529, allocations: 4 kB / 0.7258 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.553, allocations: 12 kB / 0.7258 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.553, allocations: 0 / 0.7258 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.553, allocations: 7.938 kB / 0.7258 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.5539, allocations: 0.5286 MB / 0.7263 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.554, allocations: 89 kB / 0.7264 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.554, allocations: 12.06 kB / 0.7264 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.5544, allocations: 11.98 kB / 0.7265 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.5544, allocations: 19.97 kB / 0.7265 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.5544, allocations: 23.98 kB / 0.7265 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.5545, allocations: 95.5 kB / 0.7266 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5545, allocations: 0 / 0.7266 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009228/0.5554, allocations: 243.3 kB / 0.7268 GB, free: 10.19 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.00111/0.5565, allocations: 458.1 kB / 0.7273 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.5571, allocations: 255.7 kB / 0.7275 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5571, allocations: 0 / 0.7275 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.5573, allocations: 135.8 kB / 0.7276 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.558, allocations: 76.77 kB / 0.7277 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5594, allocations: 0.7373 MB / 0.7284 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.5598, allocations: 0.7363 MB / 0.7291 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.5601, allocations: 81.75 kB / 0.7292 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5602, allocations: 31.44 kB / 0.7292 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5602, allocations: 4 kB / 0.7293 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of Templates: time 0.2427/0.8028, allocations: 8.682 MB / 0.7377 GB, free: 175.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.910822615027428]