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.001333/0.001333, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001461/0.001461, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.511/1.511, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2396/0.2396, allocations: 46.9 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] 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.002377/0.002377, allocations: 75.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4199, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2047/0.6246, allocations: 152.7 MB / 0.7103 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.6262, allocations: 1.067 MB / 0.7114 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.6263, allocations: 0 / 0.7114 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.6265, allocations: 23.83 kB / 0.7114 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008713/0.6274, allocations: 285.3 kB / 0.7117 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.6278, allocations: 119.6 kB / 0.7118 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.6281, allocations: 183.3 kB / 0.712 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.6282, allocations: 11.88 kB / 0.712 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.6284, allocations: 91.67 kB / 0.7121 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.6285, allocations: 63.69 kB / 0.7121 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.6285, allocations: 8 kB / 0.7121 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.6291, allocations: 267.7 kB / 0.7124 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.6291, allocations: 23.98 kB / 0.7124 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.6292, allocations: 47.78 kB / 0.7125 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.6297, allocations: 279.3 kB / 0.7127 GB, free: 9.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6297, allocations: 0 / 0.7127 GB, free: 9.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6297, allocations: 7.938 kB / 0.7127 GB, free: 9.254 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6297, allocations: 3.938 kB / 0.7127 GB, free: 9.25 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.0006425/0.6303, allocations: 410.9 kB / 0.7131 GB, free: 8.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6304, allocations: 8.031 kB / 0.7131 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.6326, allocations: 200.6 kB / 0.7133 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.633, allocations: 211.6 kB / 0.7135 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.633, allocations: 4 kB / 0.7135 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.6331, allocations: 8 kB / 0.7135 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.6337, allocations: 228 kB / 0.7138 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6337, allocations: 0 / 0.7138 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.6337, allocations: 4 kB / 0.7138 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6337, allocations: 4 kB / 0.7138 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.6342, allocations: 171.8 kB / 0.7139 GB, free: 7.926 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.001179/0.6354, allocations: 0.5795 MB / 0.7145 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.6357, allocations: 142.3 kB / 0.7146 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.6359, allocations: 68.81 kB / 0.7147 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.6359, allocations: 7.938 kB / 0.7147 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.6359, allocations: 34.5 kB / 0.7147 GB, free: 7.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.6359, allocations: 0 / 0.7147 GB, free: 7.023 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.006036/0.642, allocations: 1.314 MB / 0.716 GB, free: 5.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.642, allocations: 55.41 kB / 0.7161 GB, free: 5.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.6422, allocations: 105.8 kB / 0.7162 GB, free: 5.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.6422, allocations: 33.7 kB / 0.7162 GB, free: 5.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.6423, allocations: 95.97 kB / 0.7163 GB, free: 5.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.6424, allocations: 71.44 kB / 0.7164 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6425, allocations: 57.64 kB / 0.7164 GB, free: 5.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6427, allocations: 326.8 kB / 0.7167 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.6428, allocations: 67.97 kB / 0.7168 GB, free: 4.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.643, allocations: 107.2 kB / 0.7169 GB, free: 4.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.6434, allocations: 183.3 kB / 0.7171 GB, free: 4.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6434, allocations: 0 / 0.7171 GB, free: 4.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005521/0.644, allocations: 261.6 kB / 0.7173 GB, free: 4.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.644, allocations: 4 kB / 0.7173 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.644, allocations: 8.094 kB / 0.7173 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.6442, allocations: 48.83 kB / 0.7174 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.6445, allocations: 51.97 kB / 0.7174 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/0.645, allocations: 0.5679 MB / 0.718 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6452, allocations: 4.031 kB / 0.718 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.6452, allocations: 32.08 kB / 0.718 GB, free: 3.461 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.0001567/0.6454, allocations: 125.8 kB / 0.7181 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.6455, allocations: 7.953 kB / 0.7181 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.6462, allocations: 339 kB / 0.7185 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6462, allocations: 4 kB / 0.7185 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.6462, allocations: 3.984 kB / 0.7185 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6463, allocations: 3.984 kB / 0.7185 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.6474, allocations: 0.6152 MB / 0.7191 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6474, allocations: 4 kB / 0.7191 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.6477, allocations: 63.89 kB / 0.7191 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.581e-05/0.6478, allocations: 20.94 kB / 0.7192 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.6478, allocations: 15.98 kB / 0.7192 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.649, allocations: 1.372 MB / 0.7205 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.649, allocations: 3.938 kB / 0.7205 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.6498, allocations: 434.6 kB / 0.7209 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.6498, allocations: 85.09 kB / 0.721 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.6499, allocations: 11.98 kB / 0.721 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.6501, allocations: 11.94 kB / 0.721 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.6502, allocations: 23.97 kB / 0.7211 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.6502, allocations: 23.98 kB / 0.7211 GB, free: 40 kB / 0.545 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.6503, allocations: 87.28 kB / 0.7212 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6503, allocations: 64 / 0.7212 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004432/0.6507, allocations: 95.8 kB / 0.7213 GB, free: 15.86 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.0003786/0.6511, allocations: 147 kB / 0.7214 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.6517, allocations: 191 kB / 0.7216 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6517, allocations: 0 / 0.7216 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.6521, allocations: 223.8 kB / 0.7218 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.6525, allocations: 51.36 kB / 0.7218 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.6535, allocations: 486.5 kB / 0.7223 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6539, allocations: 0.7085 MB / 0.723 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000294/0.6542, allocations: 77.39 kB / 0.7231 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.6543, allocations: 55.41 kB / 0.7231 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.6543, allocations: 0 / 0.7231 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.01084/0.6652, allocations: 5.729 MB / 0.7287 GB, free: 8.137 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 cvode -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: 6.08143002120778]