Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001475/0.001475, allocations: 88.33 kB / 20.95 MB, free: 3.457 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.001707/0.001707, allocations: 157.7 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3373/0.3373, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.65e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.346/0.3461, allocations: 131.4 MB / 0.4967 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3475, allocations: 0.9592 MB / 0.4977 GB, free: 24.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3476, allocations: 0 / 0.4977 GB, free: 24.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3479, allocations: 24.05 kB / 0.4977 GB, free: 24.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009288/0.3489, allocations: 285.8 kB / 0.498 GB, free: 24.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3492, allocations: 118.1 kB / 0.4981 GB, free: 24.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.3495, allocations: 188 kB / 0.4983 GB, free: 23.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.3496, allocations: 4.125 kB / 0.4983 GB, free: 23.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3498, allocations: 119 kB / 0.4984 GB, free: 23.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3499, allocations: 51.91 kB / 0.4984 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.35, allocations: 4.094 kB / 0.4984 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.3506, allocations: 264.9 kB / 0.4987 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3507, allocations: 22.72 kB / 0.4987 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.3507, allocations: 35 kB / 0.4987 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.3515, allocations: 323.5 kB / 0.499 GB, free: 23.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3515, allocations: 0.5625 kB / 0.499 GB, free: 23.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3515, allocations: 0 / 0.499 GB, free: 23.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3515, allocations: 1.125 kB / 0.499 GB, free: 23.71 MB / 410.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.000574/0.3521, allocations: 334.5 kB / 0.4994 GB, free: 23.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3521, allocations: 10.11 kB / 0.4994 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.3544, allocations: 227.4 kB / 0.4996 GB, free: 23.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3547, allocations: 161.3 kB / 0.4997 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3548, allocations: 7.531 kB / 0.4998 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.3548, allocations: 15.84 kB / 0.4998 GB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.3554, allocations: 297.8 kB / 0.5001 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3554, allocations: 1.188 kB / 0.5001 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.3554, allocations: 9.094 kB / 0.5001 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3555, allocations: 2.406 kB / 0.5001 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.3559, allocations: 163.4 kB / 0.5002 GB, free: 22.94 MB / 410.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.001049/0.3569, allocations: 0.5005 MB / 0.5007 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3573, allocations: 130.1 kB / 0.5008 GB, free: 22.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3574, allocations: 70.02 kB / 0.5009 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3575, allocations: 7 kB / 0.5009 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3575, allocations: 41.41 kB / 0.5009 GB, free: 22.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.3575, allocations: 0 / 0.5009 GB, free: 22.36 MB / 410.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.005116/0.3626, allocations: 1.118 MB / 0.502 GB, free: 21.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3626, allocations: 54.73 kB / 0.5021 GB, free: 21.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.3627, allocations: 107.6 kB / 0.5022 GB, free: 21.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3627, allocations: 35.11 kB / 0.5022 GB, free: 21.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.3628, allocations: 96.52 kB / 0.5023 GB, free: 21.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.3628, allocations: 73.56 kB / 0.5024 GB, free: 21.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.3629, allocations: 52.14 kB / 0.5024 GB, free: 21.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.363, allocations: 320.4 kB / 0.5027 GB, free: 21.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3631, allocations: 67.53 kB / 0.5028 GB, free: 21.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3633, allocations: 98.2 kB / 0.5029 GB, free: 21.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3636, allocations: 185.1 kB / 0.5031 GB, free: 20.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3636, allocations: 1.031 kB / 0.5031 GB, free: 20.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000471/0.3641, allocations: 251.6 kB / 0.5033 GB, free: 20.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3641, allocations: 7.391 kB / 0.5033 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3641, allocations: 0 / 0.5033 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.3643, allocations: 40.69 kB / 0.5034 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.3646, allocations: 54.09 kB / 0.5034 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002745/0.3649, allocations: 0.5465 MB / 0.504 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3651, allocations: 8.688 kB / 0.504 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.3651, allocations: 24.78 kB / 0.504 GB, free: 20.28 MB / 410.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.0001018/0.3652, allocations: 123.4 kB / 0.5041 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.3653, allocations: 14.08 kB / 0.5041 GB, free: 20.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.3659, allocations: 304.7 kB / 0.5044 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3659, allocations: 2.656 kB / 0.5044 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3659, allocations: 0.6094 kB / 0.5044 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.366, allocations: 5.156 kB / 0.5044 GB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.3668, allocations: 0.5181 MB / 0.5049 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3668, allocations: 5 kB / 0.5049 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3672, allocations: 54.23 kB / 0.505 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3673, allocations: 26.8 kB / 0.505 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.3673, allocations: 7.328 kB / 0.505 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006501/0.368, allocations: 1.241 MB / 0.5062 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.368, allocations: 1.125 kB / 0.5062 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.3686, allocations: 411.9 kB / 0.5066 GB, free: 18.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3686, allocations: 13.02 kB / 0.5066 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3687, allocations: 2.859 kB / 0.5066 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.3689, allocations: 7.766 kB / 0.5066 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.3689, allocations: 30.17 kB / 0.5067 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.369, allocations: 19.22 kB / 0.5067 GB, free: 18.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.629e-05/0.369, allocations: 97.45 kB / 0.5068 GB, free: 18.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.369, allocations: 0 / 0.5068 GB, free: 18.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004783/0.3695, allocations: 84.36 kB / 0.5069 GB, free: 18 MB / 410.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.0003792/0.3699, allocations: 152.5 kB / 0.507 GB, free: 17.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.3704, allocations: 184.7 kB / 0.5072 GB, free: 17.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3704, allocations: 3.938 kB / 0.5072 GB, free: 17.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.3707, allocations: 210.1 kB / 0.5074 GB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.3712, allocations: 65.03 kB / 0.5074 GB, free: 17.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.3719, allocations: 389.1 kB / 0.5078 GB, free: 17.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.372, allocations: 93.48 kB / 0.5079 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.3723, allocations: 61.3 kB / 0.508 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3725, allocations: 44.62 kB / 0.508 GB, free: 17.29 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3725, allocations: 0 / 0.508 GB, free: 17.29 MB / 410.7 MB Notification: Performance of Templates: time 0.01046/0.3829, allocations: 5.266 MB / 0.5132 GB, free: 16.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.3098267579916865]