Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2207/0.2207, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 87.84 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3156, allocations: 65.97 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1868/0.5024, allocations: 152.7 MB / 0.7103 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.5039, allocations: 1.055 MB / 0.7114 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.504, allocations: 8 kB / 0.7114 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.5042, allocations: 39.75 kB / 0.7114 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.5049, allocations: 270.5 kB / 0.7117 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.5052, allocations: 122.3 kB / 0.7118 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.5055, allocations: 179.2 kB / 0.712 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.5055, allocations: 11.92 kB / 0.712 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.5057, allocations: 99.56 kB / 0.7121 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.5058, allocations: 55.8 kB / 0.7121 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.5059, allocations: 8 kB / 0.7121 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.5064, allocations: 271.7 kB / 0.7124 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.5064, allocations: 23.92 kB / 0.7124 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.5065, allocations: 51.8 kB / 0.7125 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.507, allocations: 283.2 kB / 0.7127 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.507, allocations: 0 / 0.7127 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.507, allocations: 0 / 0.7127 GB, free: 9.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.507, allocations: 0 / 0.7127 GB, free: 9.273 MB / 0.545 GB 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.0005436/0.5075, allocations: 407 kB / 0.7131 GB, free: 8.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.5076, allocations: 8.031 kB / 0.7131 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.5099, allocations: 200.6 kB / 0.7133 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5103, allocations: 219.5 kB / 0.7135 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5103, allocations: 8 kB / 0.7135 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.5103, allocations: 8 kB / 0.7135 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.5109, allocations: 216.1 kB / 0.7137 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5109, allocations: 8 kB / 0.7138 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.5109, allocations: 4 kB / 0.7138 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5109, allocations: 4 kB / 0.7138 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.5114, allocations: 167.8 kB / 0.7139 GB, free: 7.949 MB / 0.545 GB 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.001169/0.5126, allocations: 0.5833 MB / 0.7145 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.5129, allocations: 138.4 kB / 0.7146 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5131, allocations: 68.83 kB / 0.7147 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.5131, allocations: 7.984 kB / 0.7147 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5131, allocations: 30.56 kB / 0.7147 GB, free: 7.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.5131, allocations: 4 kB / 0.7147 GB, free: 7.043 MB / 0.545 GB 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.00566/0.5188, allocations: 1.299 MB / 0.716 GB, free: 5.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5188, allocations: 55.41 kB / 0.7161 GB, free: 5.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5189, allocations: 117.8 kB / 0.7162 GB, free: 5.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.519, allocations: 29.7 kB / 0.7162 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.519, allocations: 99.97 kB / 0.7163 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.5191, allocations: 67.42 kB / 0.7164 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5192, allocations: 61.64 kB / 0.7164 GB, free: 5.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5194, allocations: 326.8 kB / 0.7167 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5195, allocations: 63.97 kB / 0.7168 GB, free: 4.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.5197, allocations: 115.2 kB / 0.7169 GB, free: 4.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.5201, allocations: 179.3 kB / 0.7171 GB, free: 4.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5201, allocations: 0 / 0.7171 GB, free: 4.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005312/0.5206, allocations: 254.3 kB / 0.7173 GB, free: 4.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5206, allocations: 6.5 kB / 0.7173 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5207, allocations: 4 kB / 0.7173 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.5208, allocations: 52.83 kB / 0.7174 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.5212, allocations: 59.89 kB / 0.7174 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/0.5217, allocations: 0.5605 MB / 0.718 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.5218, allocations: 12.02 kB / 0.718 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.5219, allocations: 24 kB / 0.718 GB, free: 3.492 MB / 0.545 GB 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.0001396/0.522, allocations: 125.8 kB / 0.7181 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.5221, allocations: 11.94 kB / 0.7181 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.5229, allocations: 349.9 kB / 0.7185 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5229, allocations: 11.94 kB / 0.7185 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5229, allocations: 0 / 0.7185 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5229, allocations: 0 / 0.7185 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.524, allocations: 0.6152 MB / 0.7191 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.524, allocations: 4 kB / 0.7191 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.5243, allocations: 60.05 kB / 0.7191 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.5244, allocations: 20.84 kB / 0.7192 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.5244, allocations: 15.98 kB / 0.7192 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5255, allocations: 1.372 MB / 0.7205 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5255, allocations: 4.031 kB / 0.7205 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.5263, allocations: 434.7 kB / 0.7209 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.5263, allocations: 85.09 kB / 0.721 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.5264, allocations: 8 kB / 0.721 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.5266, allocations: 4 kB / 0.721 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.5267, allocations: 27.91 kB / 0.7211 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.5267, allocations: 32.05 kB / 0.7211 GB, free: 64 kB / 0.545 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.5268, allocations: 91.27 kB / 0.7212 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5268, allocations: 0 / 0.7212 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004063/0.5272, allocations: 83.81 kB / 0.7213 GB, free: 15.89 MB / 0.5606 GB 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 (21): * Single equations (assignments): 20 * 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.0003563/0.5275, allocations: 155 kB / 0.7214 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005223/0.5281, allocations: 198.9 kB / 0.7216 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5281, allocations: 0 / 0.7216 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.5284, allocations: 222.9 kB / 0.7218 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.5289, allocations: 41.56 kB / 0.7218 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.5298, allocations: 494.5 kB / 0.7223 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5301, allocations: 0.7007 MB / 0.723 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.5304, allocations: 81.38 kB / 0.7231 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.5306, allocations: 51.41 kB / 0.7231 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5306, allocations: 0 / 0.7231 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.0103/0.5409, allocations: 5.736 MB / 0.7287 GB, free: 8.152 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.511161739937961]