Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 164.9 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.441e-05, allocations: 2.312 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3242/0.3242, allocations: 145.2 MB / 471.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.3264, allocations: 3.305 MB / 474.5 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3265, allocations: 3.938 kB / 474.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.3268, allocations: 61.72 kB / 474.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.3284, allocations: 1.092 MB / 475.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3287, allocations: 198.8 kB / 475.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.329, allocations: 375.2 kB / 476.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.3291, allocations: 7.719 kB / 476.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3293, allocations: 213.6 kB / 476.4 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3294, allocations: 102 kB / 476.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3294, allocations: 13.84 kB / 476.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.331, allocations: 1.383 MB / 477.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.3311, allocations: 84.53 kB / 478 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.3312, allocations: 83.67 kB / 478.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3322, allocations: 1.035 MB / 479.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3322, allocations: 0 / 479.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3322, allocations: 2.812 kB / 479.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3322, allocations: 0 / 479.1 MB, free: 11.93 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005055/0.3327, allocations: 470.7 kB / 479.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.3327, allocations: 10.66 kB / 479.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.3336, allocations: 264.8 kB / 479.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3338, allocations: 182.5 kB / 480 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3338, allocations: 16.2 kB / 480 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.3338, allocations: 24.62 kB / 480.1 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3341, allocations: 448.5 kB / 480.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3341, allocations: 0 / 480.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.3341, allocations: 7.562 kB / 480.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.3341, allocations: 14.36 kB / 480.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.3343, allocations: 150.6 kB / 480.7 MB, free: 11.11 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.000768/0.3351, allocations: 0.5941 MB / 481.3 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3353, allocations: 244.1 kB / 481.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.3353, allocations: 64.47 kB / 481.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.3359, allocations: 297.2 kB / 481.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3359, allocations: 40.44 kB / 481.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.3359, allocations: 0 / 481.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005047/0.3364, allocations: 268.9 kB / 482.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.3365, allocations: 83.89 kB / 482.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.21e-05/0.3365, allocations: 117.6 kB / 482.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3365, allocations: 31.95 kB / 482.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.3365, allocations: 108.1 kB / 482.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.3366, allocations: 121.2 kB / 482.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.3367, allocations: 67.05 kB / 482.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.3367, allocations: 327.5 kB / 483 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.3367, allocations: 47.97 kB / 483 MB, free: 9.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.3368, allocations: 130.6 kB / 483.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.337, allocations: 219 kB / 483.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.337, allocations: 0 / 483.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002265/0.3372, allocations: 221 kB / 483.6 MB, free: 9.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3372, allocations: 9.25 kB / 483.6 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3372, allocations: 2.594 kB / 483.6 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3372, allocations: 14.56 kB / 483.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3374, allocations: 74.95 kB / 483.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3374, allocations: 5.453 kB / 483.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.569e-05/0.3375, allocations: 30.88 kB / 483.7 MB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3375, allocations: 17.03 kB / 483.7 MB, free: 9.477 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 (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 6.976e-05/0.3376, allocations: 128 kB / 483.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.3377, allocations: 36.47 kB / 483.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3379, allocations: 207.3 kB / 484.1 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3379, allocations: 9.094 kB / 484.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3379, allocations: 0 / 484.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3379, allocations: 7.328 kB / 484.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.3382, allocations: 166.2 kB / 484.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3382, allocations: 6.938 kB / 484.3 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.3383, allocations: 55.98 kB / 484.3 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3383, allocations: 4.781 kB / 484.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3384, allocations: 12.56 kB / 484.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3384, allocations: 2.219 kB / 484.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3384, allocations: 0 / 484.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3386, allocations: 0.5002 MB / 484.9 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.3387, allocations: 17.34 kB / 484.9 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3387, allocations: 10.83 kB / 484.9 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3388, allocations: 17.41 kB / 484.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.3388, allocations: 25.08 kB / 484.9 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3389, allocations: 11.33 kB / 484.9 MB, free: 8.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.283e-05/0.3389, allocations: 17.27 kB / 485 MB, free: 8.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3389, allocations: 0 / 485 MB, free: 8.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004679/0.3393, allocations: 238.7 kB / 485.2 MB, free: 8.812 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 (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.000636/0.34, allocations: 452.1 kB / 485.6 MB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3402, allocations: 161.1 kB / 485.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3402, allocations: 3.281 kB / 485.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.3402, allocations: 88.09 kB / 485.9 MB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3406, allocations: 101.8 kB / 486 MB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.3413, allocations: 0.4925 MB / 486.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.3413, allocations: 88.64 kB / 486.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3415, allocations: 64.69 kB / 486.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.3417, allocations: 146.7 kB / 486.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3417, allocations: 0 / 486.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of Templates: time 0.009431/0.3512, allocations: 10.3 MB / 497.1 MB, free: 3.562 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.4398278361186385]