Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.0008626/0.0008626, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002061, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007159/0.0007159, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001734, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.027/1.027, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.136, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.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.3114/0.3114, allocations: 34.88 MB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0374/0.3488, allocations: 13.24 MB / 292.8 MB, free: 6.402 MB / 282.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.01e-05, allocations: 2.969 kB / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1378/0.1378, allocations: 145.1 MB / 439.2 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1389, allocations: 1.063 MB / 440.3 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.139, allocations: 7.938 kB / 440.3 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1392, allocations: 35.75 kB / 440.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.1397, allocations: 266.3 kB / 440.6 MB, free: 2.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.14, allocations: 131.5 kB / 440.7 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1402, allocations: 179.2 kB / 440.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1403, allocations: 0 / 440.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.1405, allocations: 131.6 kB / 441 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.1406, allocations: 47.83 kB / 441.1 MB, free: 1.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1406, allocations: 4 kB / 441.1 MB, free: 1.562 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.141, allocations: 271.6 kB / 441.3 MB, free: 1.297 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.141, allocations: 23.94 kB / 441.3 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1411, allocations: 27.94 kB / 441.4 MB, free: 1.246 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1414, allocations: 259.3 kB / 441.6 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.1414, allocations: 0 / 441.6 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1414, allocations: 0 / 441.6 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1414, allocations: 0 / 441.6 MB, free: 0.9922 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004709/0.1419, allocations: 349.3 kB / 442 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.142, allocations: 8.922 kB / 442 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1431, allocations: 325.9 kB / 442.3 MB, free: 292 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1433, allocations: 129.7 kB / 442.4 MB, free: 136 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1433, allocations: 16.12 kB / 442.4 MB, free: 120 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1433, allocations: 12 kB / 442.5 MB, free: 108 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2254/0.3687, allocations: 258.2 kB / 442.7 MB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3688, allocations: 0.5625 kB / 442.7 MB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3688, allocations: 3.156 kB / 442.7 MB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3688, allocations: 2.594 kB / 442.7 MB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.3691, allocations: 85.83 kB / 442.8 MB, free: 7.141 MB / 426.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.0008704/0.3699, allocations: 431.9 kB / 443.2 MB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3702, allocations: 97.66 kB / 443.3 MB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3703, allocations: 39.28 kB / 443.3 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.3704, allocations: 7.828 kB / 443.4 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3704, allocations: 33.16 kB / 443.4 MB, free: 6.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 4.479e-06/0.3704, allocations: 1.594 kB / 443.4 MB, free: 6.762 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.003018/0.3734, allocations: 0.8387 MB / 444.2 MB, free: 6.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.3734, allocations: 53.41 kB / 444.3 MB, free: 6.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.3735, allocations: 117.9 kB / 444.4 MB, free: 6.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3735, allocations: 25.7 kB / 444.4 MB, free: 6.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.3736, allocations: 98.08 kB / 444.5 MB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.3736, allocations: 75.16 kB / 444.6 MB, free: 6.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.3737, allocations: 41.2 kB / 444.6 MB, free: 6.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.3737, allocations: 322.2 kB / 444.9 MB, free: 5.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.3738, allocations: 31.14 kB / 445 MB, free: 5.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.3738, allocations: 71.27 kB / 445 MB, free: 5.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.374, allocations: 116.8 kB / 445.2 MB, free: 5.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.374, allocations: 0 / 445.2 MB, free: 5.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002457/0.3742, allocations: 149.4 kB / 445.3 MB, free: 5.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3743, allocations: 10.11 kB / 445.3 MB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3743, allocations: 0 / 445.3 MB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.3744, allocations: 25.86 kB / 445.3 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.3747, allocations: 69.52 kB / 445.4 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/0.3756, allocations: 1.254 MB / 446.7 MB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3757, allocations: 8.75 kB / 446.7 MB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3757, allocations: 14.94 kB / 446.7 MB, free: 4.539 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.3758, allocations: 126.2 kB / 446.8 MB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.3758, allocations: 15.31 kB / 446.8 MB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.3761, allocations: 182.2 kB / 447 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3761, allocations: 3.703 kB / 447 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3761, allocations: 1.859 kB / 447 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3761, allocations: 8.484 kB / 447 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.3767, allocations: 366.9 kB / 447.4 MB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3767, allocations: 1.062 kB / 447.4 MB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.377, allocations: 69.72 kB / 447.4 MB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.377, allocations: 19.06 kB / 447.5 MB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.3771, allocations: 17.98 kB / 447.5 MB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3771, allocations: 8.922 kB / 447.5 MB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008508/0.3779, allocations: 1.156 MB / 448.6 MB, free: 19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3779, allocations: 3.062 kB / 448.6 MB, free: 19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3783, allocations: 306 kB / 448.9 MB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3783, allocations: 5.469 kB / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3785, allocations: 10.66 kB / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3785, allocations: 22.45 kB / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3785, allocations: 16.33 kB / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.117e-05/0.3786, allocations: 10.3 kB / 449 MB, free: 18.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3786, allocations: 0 / 449 MB, free: 18.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.3789, allocations: 82.31 kB / 449.1 MB, free: 18.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.3793, allocations: 132.5 kB / 449.2 MB, free: 18.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3796, allocations: 238.3 kB / 449.5 MB, free: 18.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.3796, allocations: 7.125 kB / 449.5 MB, free: 18.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3798, allocations: 194.9 kB / 449.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3802, allocations: 157.3 kB / 449.8 MB, free: 18.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3831, allocations: 362.7 kB / 450.2 MB, free: 18.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.3832, allocations: 72.41 kB / 450.2 MB, free: 18.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.3834, allocations: 53.34 kB / 450.3 MB, free: 18.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.3837, allocations: 112.9 kB / 450.4 MB, free: 18.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3837, allocations: 0.9062 kB / 450.4 MB, free: 18.1 MB / 442.7 MB Notification: Performance of Templates: time 0.00702/0.3907, allocations: 5.609 MB / 456 MB, free: 17.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3718087933957577]