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.001347/0.001347, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001478/0.001478, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.238 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.24/0.24, allocations: 46.94 MB / 361.4 MB, free: 4.414 MB / 286.1 MB " [Timeout remaining time 179] 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.002348/0.002348, allocations: 75.88 kB / 0.4972 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4107, allocations: 66.04 MB / 0.5616 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2071/0.6178, allocations: 153.3 MB / 0.7113 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004617/0.6225, allocations: 3.278 MB / 0.7145 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.6226, allocations: 0 / 0.7145 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.623, allocations: 59.64 kB / 0.7146 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.6261, allocations: 1.112 MB / 0.7157 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.6267, allocations: 198.9 kB / 0.7159 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.6272, allocations: 374.6 kB / 0.7162 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.6272, allocations: 9.297 kB / 0.7162 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.6276, allocations: 163.5 kB / 0.7164 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.6278, allocations: 123.5 kB / 0.7165 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.6278, allocations: 12 kB / 0.7165 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.6311, allocations: 1.644 MB / 0.7181 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6312, allocations: 83.77 kB / 0.7182 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.6313, allocations: 115.5 kB / 0.7183 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.6331, allocations: 1.02 MB / 0.7193 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6331, allocations: 0 / 0.7193 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6331, allocations: 0 / 0.7193 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.6331, allocations: 0 / 0.7193 GB, free: 2.5 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.000984/0.6341, allocations: 0.4893 MB / 0.7198 GB, free: 1.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6341, allocations: 12.03 kB / 0.7198 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.6356, allocations: 204.6 kB / 0.72 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.6359, allocations: 198 kB / 0.7202 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.636, allocations: 16.38 kB / 0.7202 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.636, allocations: 20 kB / 0.7202 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.6367, allocations: 388.1 kB / 0.7206 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6367, allocations: 0 / 0.7206 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.6368, allocations: 8 kB / 0.7206 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.6368, allocations: 11.94 kB / 0.7206 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.6374, allocations: 424.4 kB / 0.721 GB, free: 0.6953 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.001813/0.6392, allocations: 0.7894 MB / 0.7218 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.6397, allocations: 225.1 kB / 0.722 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.6399, allocations: 125 kB / 0.7221 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.6415, allocations: 309.7 kB / 0.7224 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.6415, allocations: 38.56 kB / 0.7224 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.6415, allocations: 3.938 kB / 0.7224 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001237/0.6428, allocations: 384 kB / 0.7228 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.6428, allocations: 89.03 kB / 0.7229 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6429, allocations: 117.8 kB / 0.723 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.643, allocations: 33.7 kB / 0.723 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.643, allocations: 112.5 kB / 0.7232 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.6431, allocations: 115 kB / 0.7233 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.6433, allocations: 66 kB / 0.7233 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6434, allocations: 330.8 kB / 0.7236 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.6437, allocations: 112 kB / 0.7237 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.6439, allocations: 178.9 kB / 0.7239 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.6444, allocations: 316.6 kB / 0.7242 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6444, allocations: 0 / 0.7242 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006664/0.6451, allocations: 357.3 kB / 0.7246 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6451, allocations: 8 kB / 0.7246 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6451, allocations: 0 / 0.7246 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6451, allocations: 8 kB / 0.7246 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.6455, allocations: 71.89 kB / 0.7246 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6455, allocations: 4 kB / 0.7246 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.6457, allocations: 35.78 kB / 0.7247 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.6458, allocations: 19.98 kB / 0.7247 GB, free: 12.7 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.0001609/0.6459, allocations: 145.8 kB / 0.7248 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.646, allocations: 15.91 kB / 0.7249 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.6467, allocations: 343.8 kB / 0.7252 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6468, allocations: 4 kB / 0.7252 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6468, allocations: 0 / 0.7252 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6468, allocations: 0 / 0.7252 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.6474, allocations: 318.1 kB / 0.7255 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6474, allocations: 0 / 0.7255 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.6477, allocations: 55.91 kB / 0.7255 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6477, allocations: 4 kB / 0.7255 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.6478, allocations: 11.98 kB / 0.7256 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.6478, allocations: 4 kB / 0.7256 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6478, allocations: 3.938 kB / 0.7256 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.6486, allocations: 0.53 MB / 0.7261 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.6486, allocations: 15.88 kB / 0.7261 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.6487, allocations: 8.062 kB / 0.7261 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.649, allocations: 11.98 kB / 0.7261 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.649, allocations: 27.91 kB / 0.7261 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.6491, allocations: 15.98 kB / 0.7262 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.316e-05/0.6491, allocations: 95.2 kB / 0.7263 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6491, allocations: 0 / 0.7263 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008532/0.65, allocations: 235.4 kB / 0.7265 GB, free: 10.81 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.001039/0.651, allocations: 454.2 kB / 0.7269 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.6516, allocations: 255.7 kB / 0.7272 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6516, allocations: 7.938 kB / 0.7272 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.6518, allocations: 132.4 kB / 0.7273 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.6525, allocations: 91.23 kB / 0.7274 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.6537, allocations: 0.7509 MB / 0.7281 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.6541, allocations: 0.7323 MB / 0.7288 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002956/0.6544, allocations: 73.83 kB / 0.7289 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6545, allocations: 35.44 kB / 0.7289 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.6545, allocations: 4 kB / 0.7289 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.2747/0.9293, allocations: 8.762 MB / 0.7375 GB, free: 175.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.050571799278259]