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.001184/0.001184, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001467/0.001467, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.449/1.449, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2291/0.2291, allocations: 46.89 MB / 361.1 MB, free: 4.617 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.002265/0.002265, allocations: 80.2 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3166, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1834/0.5, allocations: 153.3 MB / 0.7109 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.504, allocations: 3.271 MB / 0.7141 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.504, allocations: 0 / 0.7141 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.5044, allocations: 63.62 kB / 0.7141 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.5071, allocations: 1.081 MB / 0.7152 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.5077, allocations: 195.3 kB / 0.7154 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.5082, allocations: 370.6 kB / 0.7157 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.5082, allocations: 13.09 kB / 0.7157 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.5086, allocations: 159.5 kB / 0.7159 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.5088, allocations: 127.5 kB / 0.716 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.5088, allocations: 12 kB / 0.716 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.5118, allocations: 1.594 MB / 0.7176 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.5119, allocations: 79.77 kB / 0.7176 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.512, allocations: 111.6 kB / 0.7177 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.5137, allocations: 1.016 MB / 0.7187 GB, free: 3.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5137, allocations: 4 kB / 0.7187 GB, free: 3.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5137, allocations: 0 / 0.7187 GB, free: 3.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5137, allocations: 0 / 0.7187 GB, free: 3.066 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.001029/0.5147, allocations: 0.5645 MB / 0.7193 GB, free: 2.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5147, allocations: 8.922 kB / 0.7193 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5162, allocations: 212.6 kB / 0.7195 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.5166, allocations: 251.8 kB / 0.7197 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.5167, allocations: 20.36 kB / 0.7198 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.5167, allocations: 16 kB / 0.7198 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.5174, allocations: 388.9 kB / 0.7202 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5174, allocations: 0 / 0.7202 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.5174, allocations: 12 kB / 0.7202 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.5175, allocations: 12 kB / 0.7202 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.5181, allocations: 420.4 kB / 0.7206 GB, free: 1.098 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.001751/0.5198, allocations: 0.8215 MB / 0.7214 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.5203, allocations: 221.1 kB / 0.7216 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5205, allocations: 117.7 kB / 0.7217 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.5224, allocations: 0.9724 MB / 0.7227 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.5224, allocations: 42.56 kB / 0.7227 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.5224, allocations: 3.938 kB / 0.7227 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001357/0.5238, allocations: 384.3 kB / 0.7231 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.5239, allocations: 85.05 kB / 0.7231 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.524, allocations: 117.8 kB / 0.7233 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.5241, allocations: 33.7 kB / 0.7233 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5242, allocations: 116.5 kB / 0.7234 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.5243, allocations: 119 kB / 0.7235 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5244, allocations: 62.02 kB / 0.7236 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5246, allocations: 326.8 kB / 0.7239 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.5248, allocations: 108.1 kB / 0.724 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.5251, allocations: 190.9 kB / 0.7242 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.5257, allocations: 319.4 kB / 0.7245 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5257, allocations: 0 / 0.7245 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006436/0.5263, allocations: 353.1 kB / 0.7248 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5263, allocations: 8 kB / 0.7248 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5263, allocations: 4 kB / 0.7248 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5264, allocations: 4 kB / 0.7248 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.5267, allocations: 71.91 kB / 0.7249 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5267, allocations: 4 kB / 0.7249 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5269, allocations: 32.14 kB / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.527, allocations: 16 kB / 0.7249 GB, free: 12.24 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.0001518/0.5271, allocations: 145.6 kB / 0.7251 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.5272, allocations: 19.84 kB / 0.7251 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.5279, allocations: 337 kB / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5279, allocations: 7.922 kB / 0.7254 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5279, allocations: 0 / 0.7254 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.528, allocations: 100.9 kB / 0.7255 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.528, allocations: 4 kB / 0.7255 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.5283, allocations: 23.92 kB / 0.7256 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.5284, allocations: 19.97 kB / 0.7256 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007756/0.5292, allocations: 412 kB / 0.726 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008445/0.53, allocations: 0.5838 MB / 0.7265 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001985/0.5302, allocations: 99.47 kB / 0.7266 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.5303, allocations: 91.22 kB / 0.7267 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/0.5303, allocations: 0 / 0.7267 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.5321, allocations: 0.613 MB / 0.7273 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001298/0.5334, allocations: 1.129 MB / 0.7284 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.2699/0.8033, allocations: 9.064 MB / 0.7373 GB, free: 176.7 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 -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.620889359153807]