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.001471/0.001471, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.004374/0.004374, allocations: 165.4 kB / 25.33 MB, free: 8.598 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.9324/0.9324, allocations: 158.6 MB / 187.2 MB, free: 2.93 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 2.004e-06/2.004e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.983e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3223/0.3223, allocations: 143.6 MB / 394.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.327, allocations: 0.9787 MB / 395.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3272, allocations: 0 / 395.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.3276, allocations: 29.12 kB / 395.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.3287, allocations: 252.3 kB / 395.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3292, allocations: 129.5 kB / 396 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.3296, allocations: 169.3 kB / 396.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.3296, allocations: 4.906 kB / 396.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.33, allocations: 114.4 kB / 396.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3302, allocations: 46.19 kB / 396.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3302, allocations: 5.656 kB / 396.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.3311, allocations: 256.7 kB / 396.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3312, allocations: 24.92 kB / 396.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.3313, allocations: 37.19 kB / 396.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.3319, allocations: 299.4 kB / 396.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.3319, allocations: 0 / 396.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3319, allocations: 0 / 396.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.332, allocations: 4.484 kB / 396.9 MB, free: 10.27 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.0006107/0.3326, allocations: 435.3 kB / 397.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3326, allocations: 15.55 kB / 397.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.3344, allocations: 206.8 kB / 397.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3347, allocations: 152.3 kB / 397.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3348, allocations: 6.688 kB / 397.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.3348, allocations: 17.34 kB / 397.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3352, allocations: 292.6 kB / 398 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3352, allocations: 0 / 398 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3352, allocations: 10.58 kB / 398 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.3352, allocations: 0 / 398 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.3355, allocations: 133.8 kB / 398.2 MB, free: 9.523 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.0008259/0.3363, allocations: 0.638 MB / 398.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3365, allocations: 131.7 kB / 398.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.3366, allocations: 56.88 kB / 399 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3366, allocations: 2.5 kB / 399 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3367, allocations: 39.83 kB / 399 MB, free: 8.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.3367, allocations: 0 / 399 MB, free: 8.867 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.002822/0.3395, allocations: 0.9794 MB / 400 MB, free: 8.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3395, allocations: 57.97 kB / 400.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.3396, allocations: 170.4 kB / 400.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3396, allocations: 28.77 kB / 400.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.3397, allocations: 141.7 kB / 400.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3397, allocations: 71.34 kB / 400.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.3398, allocations: 52.23 kB / 400.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.3399, allocations: 0.4913 MB / 401 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.3399, allocations: 48.47 kB / 401 MB, free: 7.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.34, allocations: 89.5 kB / 401.1 MB, free: 7.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3402, allocations: 162.2 kB / 401.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3402, allocations: 0 / 401.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003052/0.3405, allocations: 223.3 kB / 401.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3405, allocations: 6.734 kB / 401.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3405, allocations: 0.875 kB / 401.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.3407, allocations: 35.42 kB / 401.6 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3409, allocations: 56.67 kB / 401.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003133/0.3412, allocations: 0.8102 MB / 402.4 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.3413, allocations: 7.172 kB / 402.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3413, allocations: 20.97 kB / 402.4 MB, free: 6.359 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.3414, allocations: 166.4 kB / 402.6 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3414, allocations: 16.17 kB / 402.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.3419, allocations: 269.3 kB / 402.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3419, allocations: 3.188 kB / 402.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3419, allocations: 4.031 kB / 402.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3419, allocations: 0 / 402.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.3424, allocations: 0.5514 MB / 403.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3425, allocations: 6.547 kB / 403.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3426, allocations: 52.59 kB / 403.5 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/0.3427, allocations: 24.27 kB / 403.5 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3427, allocations: 15.67 kB / 403.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005069/0.3432, allocations: 1.727 MB / 405.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3432, allocations: 0 / 405.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.3436, allocations: 438.4 kB / 405.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.3436, allocations: 6.516 kB / 405.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3437, allocations: 6.406 kB / 405.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3438, allocations: 5.969 kB / 405.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3438, allocations: 31.05 kB / 405.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.3438, allocations: 18.38 kB / 405.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.3439, allocations: 138.4 kB / 405.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3439, allocations: 0 / 405.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.3442, allocations: 80.62 kB / 406 MB, free: 3.445 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.0003273/0.3445, allocations: 154.1 kB / 406.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3449, allocations: 170.1 kB / 406.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3449, allocations: 0 / 406.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.3451, allocations: 270.3 kB / 406.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3454, allocations: 63.06 kB / 406.6 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.3464, allocations: 404.7 kB / 407 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.3464, allocations: 67.53 kB / 407.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.3466, allocations: 61.64 kB / 407.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.3467, allocations: 40.81 kB / 407.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3467, allocations: 4 kB / 407.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of Templates: time 0.007416/0.3541, allocations: 5.317 MB / 412.5 MB, free: 15.91 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 -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: 3.3917911062017083]