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.0009771/0.0009771, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009053/0.0009053, allocations: 160.4 kB / 25.45 MB, free: 9.352 MB / 18.57 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.8082/0.8082, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.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.633e-06/1.633e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.409e-05, allocations: 6.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2572/0.2572, allocations: 129.5 MB / 429.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.2581, allocations: 0.877 MB / 430.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.2581, allocations: 3.938 kB / 430.1 MB, free: 9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2584, allocations: 31.77 kB / 430.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.2591, allocations: 249.7 kB / 430.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2594, allocations: 119.6 kB / 430.5 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.2595, allocations: 179.9 kB / 430.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.2596, allocations: 3.984 kB / 430.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2597, allocations: 115.6 kB / 430.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.2598, allocations: 39.89 kB / 430.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2598, allocations: 4 kB / 430.8 MB, free: 8.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2601, allocations: 251.6 kB / 431.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.2602, allocations: 27.89 kB / 431.1 MB, free: 8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.2602, allocations: 31.94 kB / 431.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.2605, allocations: 327.1 kB / 431.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2605, allocations: 0 / 431.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2605, allocations: 4 kB / 431.5 MB, free: 7.645 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2605, allocations: 0 / 431.5 MB, free: 7.645 MB / 362.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.0003981/0.2609, allocations: 332.8 kB / 431.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.261, allocations: 11.98 kB / 431.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/0.262, allocations: 208.6 kB / 432 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.2622, allocations: 145.7 kB / 432.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2622, allocations: 8.375 kB / 432.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.2623, allocations: 12.5 kB / 432.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.2626, allocations: 305 kB / 432.5 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2626, allocations: 4 kB / 432.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2626, allocations: 4 kB / 432.5 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2626, allocations: 0 / 432.5 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.2629, allocations: 171.8 kB / 432.6 MB, free: 6.383 MB / 362.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.0006186/0.2635, allocations: 0.4981 MB / 433.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.2637, allocations: 134.6 kB / 433.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.2638, allocations: 73.75 kB / 433.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2638, allocations: 4 kB / 433.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2638, allocations: 34.56 kB / 433.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.2638, allocations: 0 / 433.4 MB, free: 5.586 MB / 362.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.002677/0.2665, allocations: 1.163 MB / 434.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2665, allocations: 55.41 kB / 434.6 MB, free: 4.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.2666, allocations: 109.8 kB / 434.7 MB, free: 4.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2666, allocations: 29.7 kB / 434.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2667, allocations: 95.98 kB / 434.8 MB, free: 4.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.2667, allocations: 75.41 kB / 434.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2668, allocations: 53.69 kB / 434.9 MB, free: 3.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2668, allocations: 314.8 kB / 435.3 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.2669, allocations: 80.77 kB / 435.3 MB, free: 3.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.267, allocations: 103.2 kB / 435.4 MB, free: 3.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.2672, allocations: 183.3 kB / 435.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2672, allocations: 0 / 435.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002906/0.2675, allocations: 270.1 kB / 435.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2675, allocations: 12.09 kB / 435.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2676, allocations: 0 / 435.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.2677, allocations: 48.83 kB / 435.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2678, allocations: 51.91 kB / 436 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002762/0.2681, allocations: 0.5602 MB / 436.5 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.2682, allocations: 4.031 kB / 436.6 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.2682, allocations: 31.98 kB / 436.6 MB, free: 2.219 MB / 362.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.2683, allocations: 129.8 kB / 436.7 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.2683, allocations: 7.953 kB / 436.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.2688, allocations: 344.8 kB / 437.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2688, allocations: 3.938 kB / 437.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2688, allocations: 4 kB / 437.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2688, allocations: 0 / 437.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.2696, allocations: 0.5509 MB / 437.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2696, allocations: 0 / 437.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2697, allocations: 63.89 kB / 437.7 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/0.2698, allocations: 24.78 kB / 437.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2698, allocations: 15.98 kB / 437.7 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005456/0.2703, allocations: 1.238 MB / 439 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2703, allocations: 0 / 439 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.2707, allocations: 434.9 kB / 439.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.2707, allocations: 7.984 kB / 439.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.2708, allocations: 11.98 kB / 439.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2709, allocations: 8 kB / 439.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2709, allocations: 23.91 kB / 439.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.2709, allocations: 27.98 kB / 439.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.271, allocations: 91.27 kB / 439.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.271, allocations: 4.125 kB / 439.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.2712, allocations: 75.94 kB / 439.6 MB, free: 14.98 MB / 378.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 (21): * Single equations (assignments): 20 * 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.0002548/0.2714, allocations: 159 kB / 439.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.2717, allocations: 195.8 kB / 440 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2717, allocations: 0 / 440 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.2719, allocations: 222.5 kB / 440.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2722, allocations: 60.73 kB / 440.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.2727, allocations: 422.3 kB / 440.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.2728, allocations: 90.11 kB / 440.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2729, allocations: 56.45 kB / 440.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2729, allocations: 4 kB / 440.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.00402/0.2769, allocations: 3.876 MB / 444.7 MB, free: 9.844 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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: 4.920445363037288]