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.001078/0.001078, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001049/0.001049, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.8704/0.8704, allocations: 158.6 MB / 186 MB, free: 2.758 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.1319/0.1319, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.427e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2625/0.2625, allocations: 143.6 MB / 442.7 MB, free: 14.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.2654, allocations: 3.095 MB / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.2655, allocations: 0 / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.2659, allocations: 55.66 kB / 445.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.2683, allocations: 1.034 MB / 446.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.2687, allocations: 199.4 kB / 447 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.2691, allocations: 366.5 kB / 447.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.2692, allocations: 7.391 kB / 447.4 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.2694, allocations: 195.5 kB / 447.6 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2696, allocations: 103.7 kB / 447.7 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2696, allocations: 12 kB / 447.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.2718, allocations: 1.324 MB / 449 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.2719, allocations: 75.8 kB / 449.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.272, allocations: 83.88 kB / 449.2 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.2733, allocations: 1.001 MB / 450.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2734, allocations: 7.984 kB / 450.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2734, allocations: 0 / 450.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2734, allocations: 0 / 450.2 MB, free: 6.664 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.0005699/0.2739, allocations: 456.6 kB / 450.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.274, allocations: 8.031 kB / 450.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.2748, allocations: 248.3 kB / 450.9 MB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.275, allocations: 177.6 kB / 451.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2751, allocations: 20.73 kB / 451.1 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.2751, allocations: 24.36 kB / 451.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2754, allocations: 445.2 kB / 451.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2754, allocations: 4 kB / 451.6 MB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2754, allocations: 4 kB / 451.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2755, allocations: 4 kB / 451.6 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2756, allocations: 153.5 kB / 451.7 MB, free: 5.043 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.0008171/0.2765, allocations: 0.5752 MB / 452.3 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.2766, allocations: 198.9 kB / 452.5 MB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.2767, allocations: 70.94 kB / 452.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/0.2774, allocations: 298.3 kB / 452.8 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2774, allocations: 46.55 kB / 452.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.2774, allocations: 0 / 452.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005207/0.2779, allocations: 248.1 kB / 453.1 MB, free: 3.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.2779, allocations: 85.05 kB / 453.2 MB, free: 3.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.278, allocations: 118.7 kB / 453.3 MB, free: 3.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.278, allocations: 29.7 kB / 453.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.2781, allocations: 112.5 kB / 453.5 MB, free: 3.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.2781, allocations: 119 kB / 453.6 MB, free: 3.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.2782, allocations: 58 kB / 453.6 MB, free: 3.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003496/0.2785, allocations: 326.8 kB / 454 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.2786, allocations: 43.47 kB / 454 MB, free: 2.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.2787, allocations: 127.4 kB / 454.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2788, allocations: 211.7 kB / 454.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2788, allocations: 0 / 454.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002187/0.2791, allocations: 208.1 kB / 454.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2791, allocations: 8 kB / 454.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2791, allocations: 1.312 kB / 454.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2791, allocations: 4 kB / 454.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2793, allocations: 87.77 kB / 454.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2793, allocations: 6.5 kB / 454.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.2794, allocations: 36.09 kB / 454.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2794, allocations: 11.98 kB / 454.7 MB, free: 1.871 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.339e-05/0.2795, allocations: 136.5 kB / 454.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.2795, allocations: 23.92 kB / 454.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.2798, allocations: 210.5 kB / 455.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2798, allocations: 7.938 kB / 455.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2798, allocations: 0 / 455.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2798, allocations: 0 / 455.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2801, allocations: 162.4 kB / 455.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2801, allocations: 0 / 455.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2802, allocations: 59.95 kB / 455.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2802, allocations: 3.938 kB / 455.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2802, allocations: 12 kB / 455.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2803, allocations: 1.062 kB / 455.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2803, allocations: 4 kB / 455.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.2806, allocations: 447.3 kB / 455.7 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.2806, allocations: 15.84 kB / 455.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2806, allocations: 8 kB / 455.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2807, allocations: 11.98 kB / 455.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.2808, allocations: 23.91 kB / 455.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.2808, allocations: 11.98 kB / 455.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.2808, allocations: 21.09 kB / 455.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2808, allocations: 0 / 455.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.2814, allocations: 227.4 kB / 456 MB, free: 480 kB / 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.000655/0.282, allocations: 424.9 kB / 456.5 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1609/0.443, allocations: 163.8 kB / 456.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.443, allocations: 0.875 kB / 456.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.4431, allocations: 87.72 kB / 456.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4436, allocations: 86.16 kB / 456.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.4446, allocations: 483.8 kB / 457.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.4446, allocations: 89.5 kB / 457.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.4449, allocations: 66.88 kB / 457.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.4451, allocations: 147 kB / 457.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.474e-06/0.4452, allocations: 0 / 457.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of Templates: time 0.01349/0.4586, allocations: 9.905 MB / 467.5 MB, free: 14.12 MB / 410.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] 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","",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.2958738170564175]