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.001933/0.001933, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001916/0.001916, allocations: 167 kB / 25.03 MB, free: 8.926 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 1.372/1.372, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.283e-06/1.283e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.667e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3239/0.3239, allocations: 143.2 MB / 393.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.325, allocations: 0.9717 MB / 394.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.325, allocations: 2.594 kB / 394.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.3253, allocations: 28.83 kB / 394.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.3259, allocations: 258.5 kB / 394.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3262, allocations: 117.4 kB / 395 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3264, allocations: 171.9 kB / 395.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3264, allocations: 10 kB / 395.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3266, allocations: 111.9 kB / 395.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.3267, allocations: 43.33 kB / 395.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3267, allocations: 5.438 kB / 395.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.3272, allocations: 261.4 kB / 395.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3272, allocations: 19.03 kB / 395.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3273, allocations: 34.69 kB / 395.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.3277, allocations: 323.1 kB / 395.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3277, allocations: 0 / 395.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3277, allocations: 0 / 395.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3277, allocations: 4 kB / 395.9 MB, free: 10.01 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.0004466/0.3282, allocations: 437.8 kB / 396.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3282, allocations: 15.36 kB / 396.4 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.3302, allocations: 202.1 kB / 396.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3304, allocations: 156.5 kB / 396.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3305, allocations: 8.938 kB / 396.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3305, allocations: 6.25 kB / 396.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.3309, allocations: 344.9 kB / 397.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.331, allocations: 0 / 397.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.331, allocations: 7.797 kB / 397.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.331, allocations: 6.312 kB / 397.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.3314, allocations: 190.3 kB / 397.3 MB, free: 9.277 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.0008745/0.3323, allocations: 0.6572 MB / 397.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.3326, allocations: 147.5 kB / 398.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3327, allocations: 74.55 kB / 398.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3327, allocations: 2.344 kB / 398.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3327, allocations: 47.56 kB / 398.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3327, allocations: 0 / 398.2 MB, free: 8.637 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.004612/0.3373, allocations: 1.085 MB / 399.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3374, allocations: 53.88 kB / 399.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.3374, allocations: 176 kB / 399.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3375, allocations: 28.77 kB / 399.5 MB, free: 7.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.3375, allocations: 145.2 kB / 399.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.3375, allocations: 73.02 kB / 399.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.3376, allocations: 67.97 kB / 399.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.3377, allocations: 0.4903 MB / 400.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3378, allocations: 67.84 kB / 400.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3379, allocations: 114 kB / 400.5 MB, free: 7.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3382, allocations: 201.1 kB / 400.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3382, allocations: 3.531 kB / 400.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004047/0.3386, allocations: 267.6 kB / 400.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3386, allocations: 5.531 kB / 401 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3386, allocations: 0 / 401 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.3388, allocations: 38.3 kB / 401 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.3391, allocations: 64.06 kB / 401.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002918/0.3394, allocations: 0.8122 MB / 401.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3395, allocations: 6.25 kB / 401.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.3396, allocations: 20.44 kB / 401.9 MB, free: 6.125 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.492e-05/0.3397, allocations: 170.3 kB / 402.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.3397, allocations: 22.59 kB / 402.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.3403, allocations: 307 kB / 402.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3403, allocations: 3.031 kB / 402.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3403, allocations: 0 / 402.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3403, allocations: 7.922 kB / 402.4 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.3411, allocations: 0.5983 MB / 403 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3411, allocations: 0 / 403 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.3414, allocations: 58.7 kB / 403 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.3415, allocations: 27.45 kB / 403.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.3415, allocations: 13.42 kB / 403.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006291/0.3422, allocations: 1.764 MB / 404.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3422, allocations: 0 / 404.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.3427, allocations: 494.3 kB / 405.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.3427, allocations: 7.953 kB / 405.3 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3428, allocations: 6.25 kB / 405.3 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.343, allocations: 7.078 kB / 405.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.343, allocations: 27.06 kB / 405.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3431, allocations: 21.27 kB / 405.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.3431, allocations: 131.3 kB / 405.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3431, allocations: 8.031 kB / 405.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.3435, allocations: 84.05 kB / 405.6 MB, free: 3.199 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.0003245/0.3438, allocations: 145.7 kB / 405.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.3443, allocations: 215.9 kB / 406 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3443, allocations: 0 / 406 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.3445, allocations: 284.3 kB / 406.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.345, allocations: 64.28 kB / 406.3 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.3456, allocations: 405.2 kB / 406.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.3457, allocations: 93.33 kB / 406.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.3459, allocations: 63.23 kB / 406.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.346, allocations: 43.94 kB / 406.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.346, allocations: 0 / 406.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of Templates: time 0.008916/0.3549, allocations: 5.336 MB / 412.2 MB, free: 15.68 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","/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.877444221987389]