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.001372/0.001372, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001555/0.001555, allocations: 172.4 kB / 25.61 MB, free: 8.566 MB / 18.57 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 0.9683/0.9683, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] 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.1549/0.1549, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.82e-05, allocations: 5.125 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3174/0.3174, allocations: 143.1 MB / 0.5081 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3199, allocations: 3.154 MB / 0.5112 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.32, allocations: 2 kB / 0.5112 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3203, allocations: 59.55 kB / 0.5113 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3222, allocations: 1.082 MB / 0.5123 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3226, allocations: 200.4 kB / 0.5125 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.3231, allocations: 361.5 kB / 0.5128 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3231, allocations: 10.95 kB / 0.5129 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.3234, allocations: 208.4 kB / 0.5131 GB, free: 14.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3235, allocations: 99.28 kB / 0.5131 GB, free: 14.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3235, allocations: 17.59 kB / 0.5132 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3252, allocations: 1.321 MB / 0.5145 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.3253, allocations: 90.27 kB / 0.5145 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.3253, allocations: 85.69 kB / 0.5146 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009203/0.3263, allocations: 1.018 MB / 0.5156 GB, free: 14.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3263, allocations: 0 / 0.5156 GB, free: 14.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3263, allocations: 0 / 0.5156 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3263, allocations: 4 kB / 0.5156 GB, free: 14.18 MB / 410.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.0005432/0.3268, allocations: 0.5837 MB / 0.5162 GB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3268, allocations: 15.23 kB / 0.5162 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.3277, allocations: 250.9 kB / 0.5164 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3279, allocations: 185.3 kB / 0.5166 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3279, allocations: 20.12 kB / 0.5166 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.328, allocations: 22.31 kB / 0.5167 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3283, allocations: 452.8 kB / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3283, allocations: 0 / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3283, allocations: 9.875 kB / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3283, allocations: 5.344 kB / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.3286, allocations: 177.7 kB / 0.5173 GB, free: 13.23 MB / 410.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.0009372/0.3295, allocations: 0.7257 MB / 0.518 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.3297, allocations: 183 kB / 0.5182 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.3298, allocations: 78.8 kB / 0.5182 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.3306, allocations: 294.4 kB / 0.5185 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3306, allocations: 43.7 kB / 0.5186 GB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.3306, allocations: 0 / 0.5186 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006374/0.3312, allocations: 309.5 kB / 0.5189 GB, free: 12.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3313, allocations: 80.02 kB / 0.5189 GB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.3313, allocations: 174.7 kB / 0.5191 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3313, allocations: 32.23 kB / 0.5191 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.3314, allocations: 160.5 kB / 0.5193 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.3314, allocations: 114.8 kB / 0.5194 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.3315, allocations: 69.48 kB / 0.5195 GB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.3316, allocations: 0.4958 MB / 0.5199 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3316, allocations: 46.48 kB / 0.52 GB, free: 11.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/0.3317, allocations: 175.3 kB / 0.5202 GB, free: 11.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3319, allocations: 242.9 kB / 0.5204 GB, free: 11.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3319, allocations: 0 / 0.5204 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000281/0.3322, allocations: 272.5 kB / 0.5206 GB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3322, allocations: 7.484 kB / 0.5207 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3322, allocations: 2.938 kB / 0.5207 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3322, allocations: 9.656 kB / 0.5207 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3324, allocations: 71.03 kB / 0.5207 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3324, allocations: 5.219 kB / 0.5207 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3325, allocations: 24.12 kB / 0.5208 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3325, allocations: 17.97 kB / 0.5208 GB, free: 11.15 MB / 410.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 8.328e-05/0.3326, allocations: 184.5 kB / 0.521 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.3327, allocations: 29.09 kB / 0.521 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.333, allocations: 251.4 kB / 0.5212 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.333, allocations: 5.188 kB / 0.5212 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.333, allocations: 0 / 0.5212 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.333, allocations: 0 / 0.5212 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.3333, allocations: 215.6 kB / 0.5214 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3333, allocations: 2.875 kB / 0.5214 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3334, allocations: 45.58 kB / 0.5215 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3334, allocations: 3.094 kB / 0.5215 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3335, allocations: 15.39 kB / 0.5215 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3335, allocations: 2.906 kB / 0.5215 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3335, allocations: 6.609 kB / 0.5215 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.3338, allocations: 0.5414 MB / 0.522 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.3338, allocations: 18.58 kB / 0.522 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3339, allocations: 7.266 kB / 0.5221 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.334, allocations: 15.06 kB / 0.5221 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.334, allocations: 18.55 kB / 0.5221 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.3341, allocations: 16.41 kB / 0.5221 GB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.174e-05/0.3341, allocations: 130.8 kB / 0.5222 GB, free: 10.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3341, allocations: 0 / 0.5222 GB, free: 10.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.3346, allocations: 237.7 kB / 0.5225 GB, free: 10.26 MB / 410.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.0006621/0.3353, allocations: 465.7 kB / 0.5229 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3355, allocations: 189.3 kB / 0.5231 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3355, allocations: 3.031 kB / 0.5231 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.3356, allocations: 93.91 kB / 0.5232 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3359, allocations: 88.88 kB / 0.5233 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.3368, allocations: 0.5677 MB / 0.5238 GB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.3368, allocations: 82.95 kB / 0.5239 GB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.337, allocations: 59.03 kB / 0.5239 GB, free: 9.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.3372, allocations: 184.7 kB / 0.5241 GB, free: 9.488 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3372, allocations: 4 kB / 0.5241 GB, free: 9.484 MB / 410.7 MB Notification: Performance of Templates: time 0.009773/0.347, allocations: 10.09 MB / 0.534 GB, free: 5.324 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7070219349116087]