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.001419/0.001419, allocations: 84.69 kB / 21.44 MB, free: 296 kB / 14.72 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.001598/0.001598, allocations: 164.3 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.329/1.329, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.744e-06/1.744e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.467e-05, allocations: 6.219 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3243/0.3244, allocations: 129.5 MB / 428.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3259, allocations: 0.8866 MB / 429.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.326, allocations: 0 / 429.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3262, allocations: 35.7 kB / 429.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.327, allocations: 245.3 kB / 429.6 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3274, allocations: 127.5 kB / 429.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.3277, allocations: 163.2 kB / 429.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.3277, allocations: 8 kB / 429.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.328, allocations: 115.6 kB / 430 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3281, allocations: 39.89 kB / 430.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3281, allocations: 8 kB / 430.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.3287, allocations: 263.5 kB / 430.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.3288, allocations: 15.92 kB / 430.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.3289, allocations: 39.97 kB / 430.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.3295, allocations: 323.1 kB / 430.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3295, allocations: 0.5625 kB / 430.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3295, allocations: 0 / 430.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3295, allocations: 0 / 430.7 MB, free: 9.922 MB / 382.1 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.0005987/0.3301, allocations: 338.3 kB / 431 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3301, allocations: 15.98 kB / 431.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.3324, allocations: 200.6 kB / 431.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.3328, allocations: 151.8 kB / 431.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3328, allocations: 4.375 kB / 431.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.3329, allocations: 8.562 kB / 431.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.3335, allocations: 317 kB / 431.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3335, allocations: 0 / 431.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.3336, allocations: 4 kB / 431.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3336, allocations: 4 kB / 431.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.3341, allocations: 167.8 kB / 431.9 MB, free: 8.652 MB / 382.1 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.00117/0.3353, allocations: 0.4912 MB / 432.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3356, allocations: 142.6 kB / 432.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3358, allocations: 68.83 kB / 432.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3358, allocations: 0 / 432.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3359, allocations: 35.19 kB / 432.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.3359, allocations: 0 / 432.6 MB, free: 7.863 MB / 382.1 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.005814/0.3417, allocations: 1.162 MB / 433.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3417, allocations: 55.41 kB / 433.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3418, allocations: 113.8 kB / 434 MB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.3419, allocations: 30.73 kB / 434 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.3419, allocations: 103.9 kB / 434.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.342, allocations: 67.44 kB / 434.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3421, allocations: 53.69 kB / 434.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3423, allocations: 322.8 kB / 434.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3425, allocations: 63.97 kB / 434.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3427, allocations: 104.2 kB / 434.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.3431, allocations: 187.3 kB / 434.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3431, allocations: 0 / 434.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005858/0.3436, allocations: 262.1 kB / 435.1 MB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3437, allocations: 8 kB / 435.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3437, allocations: 3.938 kB / 435.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.3439, allocations: 56.92 kB / 435.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3442, allocations: 55.89 kB / 435.2 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005055/0.3447, allocations: 0.5563 MB / 435.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3449, allocations: 7.984 kB / 435.8 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.345, allocations: 28 kB / 435.8 MB, free: 4.496 MB / 382.1 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 0.0002005/0.3452, allocations: 125.7 kB / 436 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3452, allocations: 15.94 kB / 436 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.3461, allocations: 343.8 kB / 436.3 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3461, allocations: 4 kB / 436.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3461, allocations: 1.438 kB / 436.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3461, allocations: 0 / 436.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3472, allocations: 0.5525 MB / 436.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3472, allocations: 4 kB / 436.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.3476, allocations: 63.98 kB / 436.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.3477, allocations: 24.78 kB / 437 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3477, allocations: 15.98 kB / 437 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3488, allocations: 1.23 MB / 438.2 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3488, allocations: 4.031 kB / 438.2 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.3496, allocations: 443.1 kB / 438.6 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.3497, allocations: 11.94 kB / 438.7 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.3497, allocations: 4 kB / 438.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3499, allocations: 7.938 kB / 438.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.35, allocations: 27.91 kB / 438.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.3501, allocations: 31.98 kB / 438.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.3501, allocations: 83.27 kB / 438.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 0 / 438.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.3506, allocations: 79.94 kB / 438.9 MB, free: 1.25 MB / 382.1 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.0004886/0.3511, allocations: 159 kB / 439 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005954/0.3517, allocations: 203.8 kB / 439.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3517, allocations: 3.938 kB / 439.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.3521, allocations: 210.6 kB / 439.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3526, allocations: 59.23 kB / 439.5 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.3535, allocations: 400.6 kB / 439.9 MB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3536, allocations: 94.09 kB / 440 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.354, allocations: 69.45 kB / 440.1 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3542, allocations: 56.52 kB / 440.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3542, allocations: 0 / 440.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.01131/0.3655, allocations: 5.536 MB / 445.6 MB, free: 10.41 MB / 398.1 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.6438082829117775]