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.001384/0.001384, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001666/0.001666, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.499/1.499, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2747/0.2747, allocations: 46.92 MB / 358.2 MB, free: 10.42 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.002413/0.002413, allocations: 83.86 kB / 0.4925 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1418, allocations: 66 MB / 0.557 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4826/0.6244, allocations: 152.7 MB / 0.7061 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.6259, allocations: 1.059 MB / 0.7071 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.6259, allocations: 4 kB / 0.7071 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.6262, allocations: 31.77 kB / 0.7072 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.6269, allocations: 266.6 kB / 0.7074 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.6272, allocations: 122.8 kB / 0.7075 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.6275, allocations: 183.2 kB / 0.7077 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.6275, allocations: 7.938 kB / 0.7077 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.6277, allocations: 99.59 kB / 0.7078 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.6278, allocations: 59.77 kB / 0.7079 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.6278, allocations: 4 kB / 0.7079 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.6284, allocations: 267.7 kB / 0.7081 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.6284, allocations: 27.92 kB / 0.7081 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.6285, allocations: 43.84 kB / 0.7082 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.629, allocations: 287.6 kB / 0.7085 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.629, allocations: 0 / 0.7085 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.629, allocations: 0 / 0.7085 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.629, allocations: 0 / 0.7085 GB, free: 6.246 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.000533/0.6295, allocations: 413 kB / 0.7089 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6295, allocations: 12.03 kB / 0.7089 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.6318, allocations: 197.1 kB / 0.7091 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6321, allocations: 212 kB / 0.7093 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.6322, allocations: 4 kB / 0.7093 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.6322, allocations: 12 kB / 0.7093 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.6327, allocations: 224 kB / 0.7095 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6327, allocations: 0 / 0.7095 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.6328, allocations: 7.938 kB / 0.7095 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6328, allocations: 4 kB / 0.7095 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.6333, allocations: 171.8 kB / 0.7097 GB, free: 4.918 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.001104/0.6344, allocations: 0.5732 MB / 0.7102 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.6347, allocations: 134.5 kB / 0.7103 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.6349, allocations: 72.83 kB / 0.7104 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.6349, allocations: 0 / 0.7104 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.6349, allocations: 34.81 kB / 0.7105 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.6349, allocations: 4 kB / 0.7105 GB, free: 4.027 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.00576/0.6407, allocations: 1.309 MB / 0.7117 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.6408, allocations: 59.41 kB / 0.7118 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.6409, allocations: 117.8 kB / 0.7119 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.6409, allocations: 29.7 kB / 0.7119 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.641, allocations: 99.97 kB / 0.712 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.6411, allocations: 71.42 kB / 0.7121 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6412, allocations: 49.66 kB / 0.7121 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6413, allocations: 322.8 kB / 0.7125 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.6415, allocations: 67.97 kB / 0.7125 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.6417, allocations: 111.2 kB / 0.7126 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.6421, allocations: 183.3 kB / 0.7128 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6421, allocations: 0 / 0.7128 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005658/0.6426, allocations: 264.9 kB / 0.713 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6426, allocations: 8 kB / 0.7131 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6426, allocations: 0 / 0.7131 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.6428, allocations: 48.83 kB / 0.7131 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.6432, allocations: 51.91 kB / 0.7132 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005024/0.6437, allocations: 0.568 MB / 0.7137 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6439, allocations: 4.781 kB / 0.7137 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.6439, allocations: 31.98 kB / 0.7137 GB, free: 488 kB / 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.000146/0.6441, allocations: 125.7 kB / 0.7139 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.6441, allocations: 7.953 kB / 0.7139 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.6449, allocations: 343.2 kB / 0.7142 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6449, allocations: 11.94 kB / 0.7142 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6449, allocations: 0 / 0.7142 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.6449, allocations: 3.984 kB / 0.7142 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6461, allocations: 0.623 MB / 0.7148 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6461, allocations: 0 / 0.7148 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.6464, allocations: 63.98 kB / 0.7149 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.555e-05/0.6465, allocations: 20.84 kB / 0.7149 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.6465, allocations: 15.98 kB / 0.7149 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.6476, allocations: 1.368 MB / 0.7163 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6476, allocations: 0 / 0.7163 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.6484, allocations: 439.9 kB / 0.7167 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.6484, allocations: 85.09 kB / 0.7168 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.6485, allocations: 12.73 kB / 0.7168 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6487, allocations: 8 kB / 0.7168 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.6487, allocations: 19.97 kB / 0.7168 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.6488, allocations: 39.98 kB / 0.7168 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.6488, allocations: 83.28 kB / 0.7169 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6488, allocations: 0 / 0.7169 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004261/0.6493, allocations: 91.8 kB / 0.717 GB, free: 12.87 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.0003681/0.6496, allocations: 151 kB / 0.7171 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005192/0.6502, allocations: 191.7 kB / 0.7173 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6502, allocations: 4 kB / 0.7173 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.6505, allocations: 218.9 kB / 0.7175 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.651, allocations: 49.05 kB / 0.7176 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.6519, allocations: 0.5003 MB / 0.7181 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.6522, allocations: 0.7046 MB / 0.7188 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.6524, allocations: 59.41 kB / 0.7188 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.6524, allocations: 0 / 0.7188 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.006723/0.6591, allocations: 3.876 MB / 0.7226 GB, free: 7.047 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.604830397991464]