Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.001161/0.001161, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001362/0.001362, allocations: 169.7 kB / 24.84 MB, free: 9.289 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.104/1.104, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1569/0.1569, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/3.986e-05, allocations: 6.25 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3372/0.3373, allocations: 140.8 MB / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3384, allocations: 0.9712 MB / 490.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.3385, allocations: 0 / 490.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3388, allocations: 31.97 kB / 490.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.3395, allocations: 252.3 kB / 491 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3398, allocations: 118.1 kB / 491.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.3401, allocations: 173.9 kB / 491.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3401, allocations: 4.734 kB / 491.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3404, allocations: 110.7 kB / 491.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.3405, allocations: 43.38 kB / 491.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3405, allocations: 9.25 kB / 491.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.341, allocations: 256 kB / 491.7 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.3411, allocations: 23.2 kB / 491.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.3411, allocations: 33.3 kB / 491.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.3415, allocations: 306.6 kB / 492 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3415, allocations: 0 / 492 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3415, allocations: 0 / 492 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3415, allocations: 6.906 kB / 492 MB, free: 9.594 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.0004343/0.342, allocations: 434.8 kB / 492.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.342, allocations: 7.969 kB / 492.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.3431, allocations: 210.9 kB / 492.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3433, allocations: 152.6 kB / 492.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3433, allocations: 5.781 kB / 492.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3434, allocations: 9.281 kB / 492.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.3436, allocations: 285.7 kB / 493.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3436, allocations: 3.984 kB / 493.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3437, allocations: 2.875 kB / 493.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3437, allocations: 0 / 493.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3438, allocations: 107.8 kB / 493.2 MB, free: 8.684 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.0006028/0.3444, allocations: 0.6211 MB / 493.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3446, allocations: 117.4 kB / 494 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3446, allocations: 46.45 kB / 494 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3447, allocations: 9.203 kB / 494 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3447, allocations: 34.7 kB / 494 MB, free: 8.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.3447, allocations: 3.094 kB / 494 MB, free: 8.016 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.002287/0.347, allocations: 0.852 MB / 494.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.347, allocations: 62.06 kB / 495 MB, free: 7.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.347, allocations: 169.6 kB / 495.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3471, allocations: 29.27 kB / 495.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.3471, allocations: 144.2 kB / 495.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3471, allocations: 71.92 kB / 495.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.3472, allocations: 58.42 kB / 495.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.3472, allocations: 0.4901 MB / 495.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.3473, allocations: 44.97 kB / 496 MB, free: 6.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.3474, allocations: 84.11 kB / 496 MB, free: 6.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3475, allocations: 132.1 kB / 496.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3475, allocations: 0 / 496.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002453/0.3477, allocations: 194.8 kB / 496.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3477, allocations: 9.469 kB / 496.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3478, allocations: 3.062 kB / 496.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.3479, allocations: 30.98 kB / 496.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3481, allocations: 67.97 kB / 496.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002826/0.3484, allocations: 0.8079 MB / 497.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.3485, allocations: 6.062 kB / 497.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.3485, allocations: 13.44 kB / 497.3 MB, free: 5.531 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 0.0001024/0.3486, allocations: 166.7 kB / 497.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.3486, allocations: 18.78 kB / 497.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.349, allocations: 252.8 kB / 497.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.349, allocations: 2.375 kB / 497.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.349, allocations: 0 / 497.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3491, allocations: 0 / 497.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.3496, allocations: 0.5183 MB / 498.2 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3496, allocations: 0 / 498.2 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.3497, allocations: 56.42 kB / 498.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-05/0.3498, allocations: 24.45 kB / 498.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3499, allocations: 8.531 kB / 498.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005384/0.3504, allocations: 1.711 MB / 0.4883 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3504, allocations: 0.875 kB / 0.4883 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3507, allocations: 412.3 kB / 0.4887 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.3507, allocations: 16.88 kB / 0.4887 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3508, allocations: 10.52 kB / 0.4887 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3509, allocations: 3.188 kB / 0.4887 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3509, allocations: 21.94 kB / 0.4888 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.3509, allocations: 25.2 kB / 0.4888 GB, free: 2.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.351, allocations: 126.3 kB / 0.4889 GB, free: 2.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.351, allocations: 0 / 0.4889 GB, free: 2.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.3513, allocations: 88.08 kB / 0.489 GB, free: 2.668 MB / 362.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.0002738/0.3516, allocations: 155.9 kB / 0.4891 GB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.3518, allocations: 150.2 kB / 0.4893 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3518, allocations: 0 / 0.4893 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.352, allocations: 262.9 kB / 0.4895 GB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3523, allocations: 53.17 kB / 0.4896 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.3532, allocations: 409.1 kB / 0.49 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.3532, allocations: 69.97 kB / 0.49 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3534, allocations: 61.11 kB / 0.4901 GB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3536, allocations: 139.9 kB / 0.4902 GB, free: 1.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.582e-06/0.3536, allocations: 0 / 0.4902 GB, free: 1.77 MB / 362.7 MB Notification: Performance of Templates: time 0.008702/0.3623, allocations: 5.958 MB / 0.4961 GB, free: 14.73 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/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.7741288477554917]