Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008959/0.0008959, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007991/0.0007991, allocations: 169.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8213/0.8213, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1273/0.1273, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.71e-07/8.71e-07, allocations: 0 / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.531e-05, allocations: 10.02 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3497/0.3497, allocations: 130.1 MB / 0.5255 GB, free: 24.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.3529, allocations: 2.737 MB / 0.5282 GB, free: 22.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.3529, allocations: 5.156 kB / 0.5282 GB, free: 22.71 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.3534, allocations: 60.61 kB / 0.5283 GB, free: 22.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.3558, allocations: 1.046 MB / 0.5293 GB, free: 22.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.3563, allocations: 211.7 kB / 0.5295 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.3566, allocations: 358.5 kB / 0.5298 GB, free: 21.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.3567, allocations: 13.2 kB / 0.5298 GB, free: 21.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3569, allocations: 196.1 kB / 0.53 GB, free: 21.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3572, allocations: 99.05 kB / 0.5301 GB, free: 21.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.3572, allocations: 11.09 kB / 0.5301 GB, free: 21.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.359, allocations: 1.293 MB / 0.5314 GB, free: 21.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3591, allocations: 86.58 kB / 0.5315 GB, free: 21.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.3592, allocations: 83 kB / 0.5316 GB, free: 21.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3605, allocations: 1.042 MB / 0.5326 GB, free: 21.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3605, allocations: 5.094 kB / 0.5326 GB, free: 21.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3605, allocations: 0 / 0.5326 GB, free: 21.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3605, allocations: 0 / 0.5326 GB, free: 21.03 MB / 442.7 MB 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.0007926/0.3613, allocations: 482.8 kB / 0.533 GB, free: 20.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3614, allocations: 14.31 kB / 0.5331 GB, free: 20.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.3621, allocations: 201.6 kB / 0.5332 GB, free: 20.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3624, allocations: 189 kB / 0.5334 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3624, allocations: 12.28 kB / 0.5334 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.3624, allocations: 19.97 kB / 0.5335 GB, free: 20.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.3628, allocations: 0.5753 MB / 0.534 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3628, allocations: 6.562 kB / 0.534 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3629, allocations: 18.81 kB / 0.534 GB, free: 20.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3629, allocations: 2.219 kB / 0.534 GB, free: 20.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.3633, allocations: 405.8 kB / 0.5344 GB, free: 19.94 MB / 442.7 MB 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.0009441/0.3642, allocations: 0.713 MB / 0.5351 GB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.3645, allocations: 215.8 kB / 0.5353 GB, free: 19.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3646, allocations: 116.9 kB / 0.5354 GB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007542/0.3653, allocations: 301.9 kB / 0.5357 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3654, allocations: 42.31 kB / 0.5358 GB, free: 19.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.3654, allocations: 0 / 0.5358 GB, free: 19.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006775/0.366, allocations: 369.8 kB / 0.5361 GB, free: 19.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3661, allocations: 82.02 kB / 0.5362 GB, free: 19.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.3661, allocations: 114.8 kB / 0.5363 GB, free: 18.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3662, allocations: 32.02 kB / 0.5363 GB, free: 18.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.3662, allocations: 122.7 kB / 0.5365 GB, free: 18.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.3663, allocations: 101.3 kB / 0.5366 GB, free: 18.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.3663, allocations: 61.42 kB / 0.5366 GB, free: 18.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.3664, allocations: 326 kB / 0.5369 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3665, allocations: 97.03 kB / 0.537 GB, free: 18.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3666, allocations: 187 kB / 0.5372 GB, free: 18.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3669, allocations: 305.8 kB / 0.5375 GB, free: 17.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3669, allocations: 1.375 kB / 0.5375 GB, free: 17.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000348/0.3673, allocations: 343 kB / 0.5378 GB, free: 17.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3673, allocations: 5.125 kB / 0.5378 GB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3673, allocations: 6.594 kB / 0.5378 GB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3673, allocations: 8.906 kB / 0.5378 GB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3675, allocations: 82.41 kB / 0.5379 GB, free: 17.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3675, allocations: 2.969 kB / 0.5379 GB, free: 17.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.3676, allocations: 29.62 kB / 0.538 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3676, allocations: 13.47 kB / 0.538 GB, free: 17.77 MB / 442.7 MB 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 7.756e-05/0.3677, allocations: 144.1 kB / 0.5381 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.3677, allocations: 14.77 kB / 0.5381 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.3681, allocations: 341.9 kB / 0.5384 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3681, allocations: 2.594 kB / 0.5384 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3681, allocations: 0 / 0.5384 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3681, allocations: 5.344 kB / 0.5384 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3684, allocations: 237.7 kB / 0.5387 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3684, allocations: 0 / 0.5387 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3685, allocations: 58.94 kB / 0.5387 GB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3685, allocations: 2.656 kB / 0.5387 GB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3686, allocations: 10.91 kB / 0.5387 GB, free: 17.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3686, allocations: 3.938 kB / 0.5387 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3686, allocations: 7.469 kB / 0.5388 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3689, allocations: 0.5019 MB / 0.5392 GB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.369, allocations: 22.48 kB / 0.5393 GB, free: 16.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.369, allocations: 8 kB / 0.5393 GB, free: 16.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3691, allocations: 12.03 kB / 0.5393 GB, free: 16.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.3692, allocations: 23.56 kB / 0.5393 GB, free: 16.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3692, allocations: 14.03 kB / 0.5393 GB, free: 16.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.115e-05/0.3692, allocations: 90.7 kB / 0.5394 GB, free: 16.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3692, allocations: 0 / 0.5394 GB, free: 16.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.3697, allocations: 233.1 kB / 0.5396 GB, free: 16.79 MB / 442.7 MB 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.0006294/0.3703, allocations: 449 kB / 0.5401 GB, free: 16.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3706, allocations: 243.1 kB / 0.5403 GB, free: 16.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3706, allocations: 7.406 kB / 0.5403 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3707, allocations: 124.2 kB / 0.5404 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3711, allocations: 77.52 kB / 0.5405 GB, free: 16.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.3718, allocations: 0.6037 MB / 0.5411 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.3718, allocations: 121.5 kB / 0.5412 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.3719, allocations: 38.16 kB / 0.5412 GB, free: 15.95 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3719, allocations: 0 / 0.5412 GB, free: 15.95 MB / 442.7 MB Notification: Performance of Templates: time 0.006862/0.3788, allocations: 6.457 MB / 0.5475 GB, free: 14.41 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.718170584179461]