Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001186/0.001186, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006883/0.006883, allocations: 164.1 kB / 24.7 MB, free: 9.43 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.9118/0.9118, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.31e-05, allocations: 2.281 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3273/0.3273, allocations: 131.8 MB / 0.5618 GB, free: 12.48 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3299, allocations: 2.924 MB / 0.5646 GB, free: 9.551 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.33, allocations: 4 kB / 0.5646 GB, free: 9.547 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.3304, allocations: 47.69 kB / 0.5647 GB, free: 9.5 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.3324, allocations: 1.13 MB / 0.5658 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3328, allocations: 203.7 kB / 0.566 GB, free: 8.172 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3333, allocations: 372.3 kB / 0.5663 GB, free: 7.809 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.3334, allocations: 13.23 kB / 0.5663 GB, free: 7.797 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.3336, allocations: 207.4 kB / 0.5665 GB, free: 7.594 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3338, allocations: 111.7 kB / 0.5666 GB, free: 7.484 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3339, allocations: 12 kB / 0.5667 GB, free: 7.473 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.3359, allocations: 1.352 MB / 0.568 GB, free: 6.117 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.255e-05/0.336, allocations: 83.77 kB / 0.5681 GB, free: 6.035 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.3361, allocations: 83.83 kB / 0.5681 GB, free: 5.953 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3373, allocations: 1.091 MB / 0.5692 GB, free: 4.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3373, allocations: 0 / 0.5692 GB, free: 4.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3373, allocations: 0 / 0.5692 GB, free: 4.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3373, allocations: 0 / 0.5692 GB, free: 4.859 MB / 474.7 MB 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.0008041/0.3381, allocations: 493.8 kB / 0.5697 GB, free: 4.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3382, allocations: 15.5 kB / 0.5697 GB, free: 4.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.339, allocations: 208.6 kB / 0.5699 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3393, allocations: 189.5 kB / 0.5701 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3393, allocations: 12.75 kB / 0.5701 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.3393, allocations: 32.08 kB / 0.5701 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.3398, allocations: 0.5841 MB / 0.5707 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3399, allocations: 0 / 0.5707 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3399, allocations: 8 kB / 0.5707 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.3399, allocations: 8 kB / 0.5707 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.3403, allocations: 426 kB / 0.5711 GB, free: 2.812 MB / 474.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.001153/0.3415, allocations: 0.7081 MB / 0.5718 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.3418, allocations: 229.9 kB / 0.572 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.3419, allocations: 121.7 kB / 0.5721 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/0.3428, allocations: 310.1 kB / 0.5724 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3428, allocations: 46.44 kB / 0.5725 GB, free: 1.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.3428, allocations: 3.938 kB / 0.5725 GB, free: 1.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008211/0.3436, allocations: 391.6 kB / 0.5728 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3437, allocations: 85.05 kB / 0.5729 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.3437, allocations: 113.8 kB / 0.573 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.344, allocations: 29.7 kB / 0.5731 GB, free: 0.707 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.344, allocations: 116.5 kB / 0.5732 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.3441, allocations: 115 kB / 0.5733 GB, free: 488 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.3442, allocations: 66.02 kB / 0.5734 GB, free: 416 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3443, allocations: 322.8 kB / 0.5737 GB, free: 84 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3444, allocations: 104.2 kB / 0.5738 GB, free: 15.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3446, allocations: 186.9 kB / 0.5739 GB, free: 15.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.3449, allocations: 313.6 kB / 0.5742 GB, free: 15.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3449, allocations: 0 / 0.5742 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004272/0.3453, allocations: 364.6 kB / 0.5746 GB, free: 15.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3454, allocations: 4 kB / 0.5746 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3454, allocations: 4 kB / 0.5746 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3454, allocations: 4 kB / 0.5746 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3456, allocations: 72.22 kB / 0.5747 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3456, allocations: 15.92 kB / 0.5747 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3457, allocations: 29.38 kB / 0.5747 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.3457, allocations: 20 kB / 0.5747 GB, free: 14.92 MB / 490.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 (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.000108/0.3458, allocations: 142.8 kB / 0.5749 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3459, allocations: 19.84 kB / 0.5749 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.3464, allocations: 349.2 kB / 0.5752 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.3464, allocations: 4 kB / 0.5752 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3464, allocations: 0 / 0.5752 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3464, allocations: 0 / 0.5752 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3467, allocations: 235.1 kB / 0.5754 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3467, allocations: 3.984 kB / 0.5754 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3469, allocations: 59.91 kB / 0.5755 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3469, allocations: 7.875 kB / 0.5755 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3469, allocations: 8 kB / 0.5755 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3469, allocations: 4 kB / 0.5755 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3469, allocations: 0 / 0.5755 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.3475, allocations: 0.5223 MB / 0.576 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3475, allocations: 19.78 kB / 0.5761 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3475, allocations: 8.062 kB / 0.5761 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3476, allocations: 11.98 kB / 0.5761 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3477, allocations: 27.91 kB / 0.5761 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3477, allocations: 15.98 kB / 0.5761 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.63e-05/0.3477, allocations: 91.27 kB / 0.5762 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 0.5762 GB, free: 13.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006737/0.3484, allocations: 243.4 kB / 0.5764 GB, free: 13.12 MB / 490.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 (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.0007681/0.3492, allocations: 467 kB / 0.5769 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3495, allocations: 262.5 kB / 0.5771 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3495, allocations: 0 / 0.5771 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3497, allocations: 131.8 kB / 0.5773 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3501, allocations: 92.52 kB / 0.5773 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.3509, allocations: 0.6285 MB / 0.578 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.817e-05/0.351, allocations: 119.9 kB / 0.5781 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.351, allocations: 36.5 kB / 0.5781 GB, free: 11.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/0.351, allocations: 0 / 0.5781 GB, free: 11.37 MB / 490.7 MB Notification: Performance of Templates: time 0.006996/0.358, allocations: 6.679 MB / 0.5846 GB, free: 4.695 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.1007185857743025]