Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.00131/0.00131, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002114/0.003423, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001471/0.001471, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001844/0.003315, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.937/0.937, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1357/1.073, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.178e-06/4.178e-06, allocations: 4 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.874e-05, allocations: 9.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2664/0.2664, allocations: 143.4 MB / 365.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2676, allocations: 0.9813 MB / 366.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.2677, allocations: 4 kB / 366.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.2679, allocations: 34.02 kB / 366.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.2685, allocations: 244.4 kB / 366.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.2689, allocations: 115.6 kB / 366.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.2692, allocations: 179.2 kB / 366.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.2692, allocations: 8 kB / 366.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.2695, allocations: 119.6 kB / 367 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.2696, allocations: 39.89 kB / 367.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2696, allocations: 8 kB / 367.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.2701, allocations: 271.6 kB / 367.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.2701, allocations: 15.94 kB / 367.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.2702, allocations: 31.94 kB / 367.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.2706, allocations: 251.3 kB / 367.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.2706, allocations: 0 / 367.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2706, allocations: 4 kB / 367.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2706, allocations: 0 / 367.6 MB, free: 12.79 MB / 330.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.0004754/0.2711, allocations: 344.6 kB / 368 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2711, allocations: 8.031 kB / 368 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.2725, allocations: 321.5 kB / 368.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.2727, allocations: 117.7 kB / 368.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2727, allocations: 8.375 kB / 368.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.2728, allocations: 12.52 kB / 368.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2731, allocations: 269.7 kB / 368.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2731, allocations: 7.984 kB / 368.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.2731, allocations: 4 kB / 368.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.2731, allocations: 5.188 kB / 368.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.2733, allocations: 91.89 kB / 368.8 MB, free: 11.53 MB / 330.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.0006122/0.2739, allocations: 427.1 kB / 369.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.2741, allocations: 99.58 kB / 369.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.2741, allocations: 45.55 kB / 369.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2741, allocations: 0 / 369.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2742, allocations: 38.56 kB / 369.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.2742, allocations: 0 / 369.4 MB, free: 10.89 MB / 330.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.002549/0.2767, allocations: 0.8186 MB / 370.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2767, allocations: 51.41 kB / 370.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.2768, allocations: 114.7 kB / 370.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2768, allocations: 25.7 kB / 370.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.2769, allocations: 111.9 kB / 370.5 MB, free: 9.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.2769, allocations: 67.36 kB / 370.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.277, allocations: 45.67 kB / 370.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.2771, allocations: 318.8 kB / 370.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.2771, allocations: 31.98 kB / 371 MB, free: 9.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.2772, allocations: 67.25 kB / 371 MB, free: 9.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.2773, allocations: 118 kB / 371.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2773, allocations: 0 / 371.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002417/0.2776, allocations: 154.3 kB / 371.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2776, allocations: 8 kB / 371.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2776, allocations: 8.031 kB / 371.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.2777, allocations: 24.78 kB / 371.3 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.278, allocations: 63.94 kB / 371.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.2792, allocations: 1.264 MB / 372.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.2793, allocations: 4 kB / 372.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2793, allocations: 20.05 kB / 372.7 MB, free: 7.367 MB / 330.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.093e-05/0.2794, allocations: 120.6 kB / 372.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2794, allocations: 15.98 kB / 372.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.2796, allocations: 183.1 kB / 373 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2796, allocations: 0 / 373 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.2796, allocations: 0 / 373 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2796, allocations: 7.984 kB / 373 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.2801, allocations: 364.6 kB / 373.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2801, allocations: 8.031 kB / 373.4 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.2803, allocations: 71.86 kB / 373.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.2803, allocations: 11.91 kB / 373.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.88e-05/0.2804, allocations: 16.84 kB / 373.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2804, allocations: 11.98 kB / 373.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/0.2809, allocations: 1.166 MB / 374.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2809, allocations: 0 / 374.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2812, allocations: 303.1 kB / 374.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2812, allocations: 8 kB / 375 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.2813, allocations: 4 kB / 375 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2813, allocations: 19.91 kB / 375 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2813, allocations: 19.98 kB / 375 MB, free: 4.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.773e-05/0.2814, allocations: 12.98 kB / 375 MB, free: 4.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2814, allocations: 0 / 375 MB, free: 4.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.2816, allocations: 71.92 kB / 375.1 MB, free: 4.797 MB / 330.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.0002382/0.2818, allocations: 132.2 kB / 375.2 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2821, allocations: 242.6 kB / 375.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.2821, allocations: 4 kB / 375.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2823, allocations: 195.9 kB / 375.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2825, allocations: 165.8 kB / 375.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.2844, allocations: 362.6 kB / 376.2 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.2844, allocations: 71.94 kB / 376.2 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.2846, allocations: 53.45 kB / 376.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2848, allocations: 107.3 kB / 376.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2848, allocations: 0 / 376.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of Templates: time 0.007543/0.2923, allocations: 5.549 MB / 381.9 MB, free: 13.85 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/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.037935280241072]