Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001681/0.001681, allocations: 71.12 kB / 21.24 MB, free: 0.5469 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.002028/0.002028, allocations: 158.9 kB / 24.5 MB, free: 3.719 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 32.81 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: 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.0.0_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.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.89 kB / 440.6 MB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 65.44 MB / 0.4941 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1826/0.5699, allocations: 131.8 MB / 0.6228 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.5741, allocations: 2.831 MB / 0.6256 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.5742, allocations: 0 / 0.6256 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.5746, allocations: 55.66 kB / 0.6257 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.5775, allocations: 1.058 MB / 0.6267 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.5781, allocations: 194.8 kB / 0.6269 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.5786, allocations: 362.6 kB / 0.6272 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.5787, allocations: 9.297 kB / 0.6272 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.579, allocations: 159.4 kB / 0.6274 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.5793, allocations: 119.6 kB / 0.6275 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.5793, allocations: 12 kB / 0.6275 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.5822, allocations: 1.309 MB / 0.6288 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5823, allocations: 79.78 kB / 0.6289 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.5824, allocations: 91.7 kB / 0.6289 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.5841, allocations: 0.9585 MB / 0.6299 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5841, allocations: 8 kB / 0.6299 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.388e-06/0.5841, allocations: 4 kB / 0.6299 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.5841, allocations: 0 / 0.6299 GB, free: 13.57 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001017/0.5852, allocations: 489.1 kB / 0.6304 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5852, allocations: 11.97 kB / 0.6304 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.5868, allocations: 212.6 kB / 0.6306 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.5872, allocations: 197.9 kB / 0.6308 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5872, allocations: 16.36 kB / 0.6308 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.5873, allocations: 20 kB / 0.6308 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.5882, allocations: 0.5657 MB / 0.6314 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5882, allocations: 0 / 0.6314 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.5882, allocations: 12 kB / 0.6314 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5882, allocations: 4 kB / 0.6314 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.5889, allocations: 396.4 kB / 0.6317 GB, free: 11.56 MB / 0.5294 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.001806/0.5907, allocations: 0.703 MB / 0.6324 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.5912, allocations: 217 kB / 0.6326 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.5914, allocations: 113.7 kB / 0.6327 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/0.593, allocations: 313.9 kB / 0.633 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.593, allocations: 50.48 kB / 0.6331 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.544e-06/0.593, allocations: 0 / 0.6331 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001406/0.5945, allocations: 365.8 kB / 0.6334 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5946, allocations: 81.11 kB / 0.6335 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5947, allocations: 113.8 kB / 0.6336 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.5948, allocations: 29.7 kB / 0.6337 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.5948, allocations: 112.5 kB / 0.6338 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.595, allocations: 111 kB / 0.6339 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5951, allocations: 62.02 kB / 0.6339 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5952, allocations: 330.8 kB / 0.6342 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.5954, allocations: 96.61 kB / 0.6343 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.5957, allocations: 183.5 kB / 0.6345 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.5963, allocations: 305.2 kB / 0.6348 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5963, allocations: 3.938 kB / 0.6348 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006938/0.597, allocations: 345.2 kB / 0.6351 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.597, allocations: 4.312 kB / 0.6351 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.597, allocations: 8 kB / 0.6352 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.597, allocations: 4 kB / 0.6352 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.5974, allocations: 75.84 kB / 0.6352 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5974, allocations: 7.984 kB / 0.6352 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.5976, allocations: 23.84 kB / 0.6353 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.5977, allocations: 16 kB / 0.6353 GB, free: 7.75 MB / 0.5294 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001715/0.5978, allocations: 145.6 kB / 0.6354 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5979, allocations: 11.95 kB / 0.6354 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/0.5987, allocations: 330.4 kB / 0.6357 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5987, allocations: 4 kB / 0.6357 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5987, allocations: 0 / 0.6357 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5987, allocations: 7.984 kB / 0.6357 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.5992, allocations: 246.8 kB / 0.636 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5992, allocations: 4 kB / 0.636 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.5997, allocations: 55.91 kB / 0.636 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5997, allocations: 0 / 0.636 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.5997, allocations: 12 kB / 0.6361 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5997, allocations: 3.938 kB / 0.6361 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5997, allocations: 0 / 0.6361 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.6005, allocations: 0.5088 MB / 0.6366 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.6005, allocations: 23.84 kB / 0.6366 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.6006, allocations: 12.05 kB / 0.6366 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.6009, allocations: 8 kB / 0.6366 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.601, allocations: 23.95 kB / 0.6366 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.601, allocations: 15.98 kB / 0.6366 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.6011, allocations: 83.28 kB / 0.6367 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6011, allocations: 0 / 0.6367 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008545/0.6019, allocations: 235.4 kB / 0.6369 GB, free: 5.98 MB / 0.5294 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.001041/0.603, allocations: 454.2 kB / 0.6374 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.6035, allocations: 239.8 kB / 0.6376 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6035, allocations: 0 / 0.6376 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.6038, allocations: 122 kB / 0.6377 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.6044, allocations: 88.14 kB / 0.6378 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6057, allocations: 0.7121 MB / 0.6385 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.6059, allocations: 119.9 kB / 0.6386 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000309/0.6062, allocations: 77.77 kB / 0.6387 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6063, allocations: 36.48 kB / 0.6387 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.6063, allocations: 3.938 kB / 0.6387 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of Templates: time 0.01633/0.6226, allocations: 8.336 MB / 0.6469 GB, free: 11.85 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.675299313035794]