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.001092/0.001092, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002716, allocations: 445.7 kB / 10.37 MB, free: 328 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.001097/0.001097, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009916/0.002088, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8181/0.8181, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1231/0.9412, allocations: 49.48 MB / 220.5 MB, free: 1.453 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 1.593e-06/1.593e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.114e-05, allocations: 9.344 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2655/0.2655, allocations: 143.4 MB / 365.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2667, allocations: 0.9891 MB / 366.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.2667, allocations: 4 kB / 366.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.267, allocations: 38 kB / 366.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.2676, allocations: 240.4 kB / 366.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2679, allocations: 119.6 kB / 366.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2681, allocations: 167.2 kB / 366.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.2682, allocations: 8 kB / 366.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.2684, allocations: 119.6 kB / 366.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.2685, allocations: 43.89 kB / 366.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2685, allocations: 8 kB / 366.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.269, allocations: 267.5 kB / 367.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.2691, allocations: 15.94 kB / 367.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.2691, allocations: 28 kB / 367.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.2695, allocations: 259.3 kB / 367.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.2695, allocations: 4 kB / 367.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2695, allocations: 0 / 367.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.2696, allocations: 0 / 367.5 MB, free: 12.96 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.0004694/0.27, allocations: 348.5 kB / 367.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2701, allocations: 8.031 kB / 367.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.2713, allocations: 313.5 kB / 368.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.2715, allocations: 125.7 kB / 368.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2716, allocations: 4.375 kB / 368.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2716, allocations: 16.52 kB / 368.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2719, allocations: 273.8 kB / 368.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2719, allocations: 0 / 368.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2719, allocations: 4 kB / 368.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2719, allocations: 4 kB / 368.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2721, allocations: 83.89 kB / 368.6 MB, free: 11.7 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.0005923/0.2727, allocations: 436.2 kB / 369.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2728, allocations: 90.53 kB / 369.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.2729, allocations: 44.84 kB / 369.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2729, allocations: 0 / 369.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2729, allocations: 42.56 kB / 369.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.2729, allocations: 0 / 369.2 MB, free: 11.06 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.002552/0.2755, allocations: 0.8069 MB / 370 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.2755, allocations: 55.41 kB / 370.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.2756, allocations: 114.7 kB / 370.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2756, allocations: 33.7 kB / 370.2 MB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.2756, allocations: 95.94 kB / 370.3 MB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.2757, allocations: 71.41 kB / 370.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.2757, allocations: 41.69 kB / 370.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.2758, allocations: 330.8 kB / 370.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.2759, allocations: 27.98 kB / 370.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.2759, allocations: 63.27 kB / 370.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2761, allocations: 122 kB / 371 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2761, allocations: 3.938 kB / 371 MB, free: 9.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000218/0.2763, allocations: 150.3 kB / 371.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2763, allocations: 8.094 kB / 371.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2763, allocations: 3.938 kB / 371.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.2764, allocations: 20.84 kB / 371.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2767, allocations: 75.86 kB / 371.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/0.2775, allocations: 1.252 MB / 372.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.2776, allocations: 8 kB / 372.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.2776, allocations: 15.98 kB / 372.5 MB, free: 7.555 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.35e-05/0.2777, allocations: 124.5 kB / 372.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.2778, allocations: 20.02 kB / 372.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.278, allocations: 187.1 kB / 372.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.278, allocations: 4 kB / 372.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.278, allocations: 0 / 372.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.278, allocations: 3.984 kB / 372.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.2785, allocations: 368.7 kB / 373.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2785, allocations: 0 / 373.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.2788, allocations: 63.88 kB / 373.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.2788, allocations: 15.89 kB / 373.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-05/0.2788, allocations: 16.86 kB / 373.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2788, allocations: 7.984 kB / 373.3 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/0.2794, allocations: 1.162 MB / 374.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2794, allocations: 4 kB / 374.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.2797, allocations: 299.1 kB / 374.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2797, allocations: 8 kB / 374.8 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2798, allocations: 8 kB / 374.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2799, allocations: 20.05 kB / 374.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2799, allocations: 23.94 kB / 374.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.928e-05/0.2799, allocations: 16.83 kB / 374.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2799, allocations: 0 / 374.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.2802, allocations: 75.94 kB / 374.9 MB, free: 4.973 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.0002559/0.2805, allocations: 120.2 kB / 375 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.2808, allocations: 242.6 kB / 375.3 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.2808, allocations: 4 kB / 375.3 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2809, allocations: 195.7 kB / 375.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2813, allocations: 69.69 kB / 375.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.2837, allocations: 366.6 kB / 375.9 MB, free: 3.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.2838, allocations: 72 kB / 376 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.284, allocations: 49.45 kB / 376 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.2842, allocations: 111.3 kB / 376.1 MB, free: 3.68 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2842, allocations: 0 / 376.1 MB, free: 3.68 MB / 330.7 MB Notification: Performance of Templates: time 0.008486/0.2927, allocations: 5.548 MB / 381.7 MB, free: 14.14 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.878351639956236]