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.001921/0.001921, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002096/0.002096, allocations: 169.6 kB / 23.53 MB, free: 0.8906 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.471/1.471, allocations: 158.6 MB / 185.3 MB, free: 2.477 MB / 170.7 MB " [Timeout remaining time 178] 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.2193/0.2193, allocations: 32.38 MB / 270 MB, free: 14.72 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 3.286e-06/3.286e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.038e-05/4.366e-05, allocations: 6.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4149/0.4149, allocations: 143.2 MB / 490.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.416, allocations: 0.9772 MB / 491.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.4161, allocations: 0 / 491.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.4164, allocations: 31.03 kB / 491.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.4169, allocations: 251.4 kB / 491.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.4172, allocations: 116.4 kB / 491.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.4174, allocations: 168.4 kB / 491.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4174, allocations: 7.109 kB / 491.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.4176, allocations: 113.7 kB / 491.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.4177, allocations: 47.2 kB / 491.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.4177, allocations: 5.531 kB / 491.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.4181, allocations: 259.2 kB / 492.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.4182, allocations: 21.17 kB / 492.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.4182, allocations: 31.08 kB / 492.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.4186, allocations: 324.1 kB / 492.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4186, allocations: 3.531 kB / 492.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4186, allocations: 0 / 492.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.4186, allocations: 0 / 492.5 MB, free: 8.777 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.0004154/0.4191, allocations: 442.5 kB / 492.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4191, allocations: 11.16 kB / 492.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.4211, allocations: 203.8 kB / 493.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4213, allocations: 151.2 kB / 493.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4213, allocations: 9.094 kB / 493.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.4213, allocations: 6.875 kB / 493.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.4217, allocations: 338.2 kB / 493.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4218, allocations: 0 / 493.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.4218, allocations: 6.469 kB / 493.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4218, allocations: 6.875 kB / 493.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.4222, allocations: 192.1 kB / 493.8 MB, free: 7.879 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.0008635/0.423, allocations: 0.6471 MB / 494.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.4233, allocations: 157 kB / 494.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.4235, allocations: 75.75 kB / 494.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4235, allocations: 3.125 kB / 494.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.4235, allocations: 39.45 kB / 494.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.4235, allocations: 0 / 494.8 MB, free: 7.188 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.004529/0.428, allocations: 1.096 MB / 495.8 MB, free: 6.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.428, allocations: 54.5 kB / 495.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.4281, allocations: 176.2 kB / 496.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4281, allocations: 28.77 kB / 496.1 MB, free: 6.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.4282, allocations: 145.1 kB / 496.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.4282, allocations: 79.73 kB / 496.3 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.4283, allocations: 56.48 kB / 496.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.4283, allocations: 0.4939 MB / 496.9 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4285, allocations: 71.66 kB / 496.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.4286, allocations: 115.5 kB / 497.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.4289, allocations: 201.5 kB / 497.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4289, allocations: 2.781 kB / 497.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004124/0.4293, allocations: 259.5 kB / 497.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4293, allocations: 5.656 kB / 497.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4293, allocations: 2.75 kB / 497.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.4294, allocations: 35.58 kB / 497.5 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4297, allocations: 55.67 kB / 497.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002979/0.43, allocations: 0.8263 MB / 498.4 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4302, allocations: 3.5 kB / 498.4 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.4302, allocations: 21.23 kB / 498.5 MB, free: 4.66 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.536e-05/0.4303, allocations: 169.8 kB / 498.6 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.4304, allocations: 14.7 kB / 498.6 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.431, allocations: 316.7 kB / 498.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.431, allocations: 2.906 kB / 498.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.431, allocations: 0 / 498.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.431, allocations: 3.984 kB / 499 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.4318, allocations: 0.5964 MB / 499.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4318, allocations: 3.984 kB / 499.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.4321, allocations: 55.56 kB / 499.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.4322, allocations: 30.8 kB / 499.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.4322, allocations: 12.83 kB / 499.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006019/0.4328, allocations: 1.761 MB / 0.4897 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4328, allocations: 0 / 0.4897 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.4334, allocations: 496.8 kB / 0.4901 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.4334, allocations: 17.8 kB / 0.4901 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.4334, allocations: 6.094 kB / 0.4902 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4336, allocations: 5.625 kB / 0.4902 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.4337, allocations: 24.62 kB / 0.4902 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4337, allocations: 22.34 kB / 0.4902 GB, free: 1.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.4337, allocations: 134.5 kB / 0.4903 GB, free: 1.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4337, allocations: 0 / 0.4903 GB, free: 1.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4341, allocations: 84.2 kB / 0.4904 GB, free: 1.742 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.0003089/0.4344, allocations: 153.8 kB / 0.4906 GB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.4348, allocations: 210.8 kB / 0.4908 GB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4348, allocations: 0 / 0.4908 GB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.4351, allocations: 293.3 kB / 0.491 GB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4356, allocations: 60.58 kB / 0.4911 GB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.4362, allocations: 397.7 kB / 0.4915 GB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.4362, allocations: 95.81 kB / 0.4916 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.4364, allocations: 63.05 kB / 0.4916 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4366, allocations: 43.34 kB / 0.4917 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4366, allocations: 0 / 0.4917 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of Templates: time 0.009424/0.446, allocations: 5.323 MB / 0.4969 GB, free: 14.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.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: 5.551731580053456]