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.001598/0.001598, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001702/0.001702, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.519/1.519, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2562/0.2562, allocations: 46.88 MB / 358.1 MB, free: 10.51 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.002277/0.002277, allocations: 79.86 kB / 0.4923 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1601, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5657/0.7258, allocations: 152.7 MB / 0.7059 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.7273, allocations: 1.067 MB / 0.7069 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.7274, allocations: 0 / 0.7069 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.7277, allocations: 43.8 kB / 0.707 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007398/0.7284, allocations: 266.5 kB / 0.7072 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.7288, allocations: 123 kB / 0.7074 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.7291, allocations: 167.4 kB / 0.7075 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.7291, allocations: 15.91 kB / 0.7075 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.7293, allocations: 95.56 kB / 0.7076 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.7294, allocations: 55.77 kB / 0.7077 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.7295, allocations: 8 kB / 0.7077 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.73, allocations: 271.7 kB / 0.7079 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.7301, allocations: 19.91 kB / 0.708 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.7302, allocations: 51.78 kB / 0.708 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.7307, allocations: 283 kB / 0.7083 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7307, allocations: 2.062 kB / 0.7083 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7307, allocations: 0 / 0.7083 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7307, allocations: 0 / 0.7083 GB, free: 6.586 MB / 0.5137 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.000613/0.7313, allocations: 414.9 kB / 0.7087 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7313, allocations: 11.97 kB / 0.7087 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.7336, allocations: 201.1 kB / 0.7089 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.7339, allocations: 212 kB / 0.7091 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7339, allocations: 4 kB / 0.7091 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.734, allocations: 8 kB / 0.7091 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.7345, allocations: 220 kB / 0.7093 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7346, allocations: 4 kB / 0.7093 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.7346, allocations: 8 kB / 0.7093 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7346, allocations: 0 / 0.7093 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.7351, allocations: 165.9 kB / 0.7095 GB, free: 5.266 MB / 0.5137 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.001164/0.7362, allocations: 0.5849 MB / 0.71 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.7366, allocations: 130.5 kB / 0.7102 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.7367, allocations: 64.83 kB / 0.7102 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.7368, allocations: 7.984 kB / 0.7102 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.7368, allocations: 38.75 kB / 0.7103 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.7368, allocations: 0.6562 kB / 0.7103 GB, free: 4.367 MB / 0.5137 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.005693/0.7425, allocations: 1.31 MB / 0.7116 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.7426, allocations: 55.41 kB / 0.7116 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.7427, allocations: 107.5 kB / 0.7117 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.7427, allocations: 41.17 kB / 0.7118 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.7428, allocations: 95.98 kB / 0.7118 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.7429, allocations: 67.42 kB / 0.7119 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.743, allocations: 57.64 kB / 0.712 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7431, allocations: 326.8 kB / 0.7123 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.7433, allocations: 67.97 kB / 0.7123 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7435, allocations: 107.2 kB / 0.7124 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.7439, allocations: 183 kB / 0.7126 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7439, allocations: 4 kB / 0.7126 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005496/0.7445, allocations: 261.4 kB / 0.7129 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7445, allocations: 4 kB / 0.7129 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.7445, allocations: 7.938 kB / 0.7129 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.7447, allocations: 48.83 kB / 0.7129 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.745, allocations: 51.95 kB / 0.713 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005054/0.7455, allocations: 0.5641 MB / 0.7135 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.7457, allocations: 16.08 kB / 0.7135 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.7458, allocations: 20 kB / 0.7136 GB, free: 0.8203 MB / 0.5137 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.0001461/0.7459, allocations: 125.8 kB / 0.7137 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.746, allocations: 7.953 kB / 0.7137 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.7468, allocations: 351.3 kB / 0.714 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7468, allocations: 4 kB / 0.714 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.7468, allocations: 4 kB / 0.714 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7468, allocations: 0 / 0.714 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.7479, allocations: 0.6229 MB / 0.7146 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7479, allocations: 4 kB / 0.7146 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.7483, allocations: 63.98 kB / 0.7147 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/0.7484, allocations: 22.78 kB / 0.7147 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.7484, allocations: 15.98 kB / 0.7147 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.7496, allocations: 1.368 MB / 0.7161 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7496, allocations: 4.031 kB / 0.7161 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.7503, allocations: 437.9 kB / 0.7165 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.7504, allocations: 85.09 kB / 0.7166 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.7504, allocations: 4 kB / 0.7166 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.7507, allocations: 7.938 kB / 0.7166 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.7507, allocations: 27.97 kB / 0.7166 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.7508, allocations: 23.98 kB / 0.7166 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.7508, allocations: 99.27 kB / 0.7167 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7508, allocations: 3.938 kB / 0.7167 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004563/0.7513, allocations: 83.88 kB / 0.7168 GB, free: 13.21 MB / 0.5294 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.0004154/0.7517, allocations: 151 kB / 0.717 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.7523, allocations: 195.8 kB / 0.7172 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7523, allocations: 0 / 0.7172 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.7526, allocations: 225.2 kB / 0.7174 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.7531, allocations: 47.94 kB / 0.7174 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.7541, allocations: 0.4907 MB / 0.7179 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.7544, allocations: 0.7007 MB / 0.7186 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.7546, allocations: 59.39 kB / 0.7186 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.7546, allocations: 0 / 0.7186 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.007188/0.7618, allocations: 3.881 MB / 0.7224 GB, free: 7.383 MB / 0.5294 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 -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: 8.921405493980274]