Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.001667/0.001667, allocations: 108.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.002013/0.002013, allocations: 217.3 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.531/1.531, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2739/0.2739, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") [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.003879/0.003879, allocations: 76.16 kB / 0.4967 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4387, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2232/0.6619, allocations: 154.9 MB / 0.7124 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.6645, allocations: 1.207 MB / 0.7136 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.6645, allocations: 0 / 0.7136 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.6648, allocations: 39.8 kB / 0.7136 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.6649, allocations: 27.78 kB / 0.7137 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.6669, allocations: 441.6 kB / 0.7141 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.667, allocations: 67.61 kB / 0.7142 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.6671, allocations: 7.969 kB / 0.7142 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.6672, allocations: 31.92 kB / 0.7142 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.6673, allocations: 31.86 kB / 0.7142 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6673, allocations: 0 / 0.7142 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.6689, allocations: 0.5104 MB / 0.7147 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.6689, allocations: 11.98 kB / 0.7147 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.6689, allocations: 23.88 kB / 0.7148 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000912/0.6698, allocations: 310 kB / 0.7151 GB, free: 6.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6698, allocations: 0 / 0.7151 GB, free: 6.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6698, allocations: 0 / 0.7151 GB, free: 6.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6699, allocations: 0 / 0.7151 GB, free: 6.848 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007988/0.6707, allocations: 414.8 kB / 0.7155 GB, free: 6.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6707, allocations: 12.03 kB / 0.7155 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.6708, allocations: 16.86 kB / 0.7155 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.6709, allocations: 167 kB / 0.7156 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.671, allocations: 8 kB / 0.7156 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.671, allocations: 11.94 kB / 0.7157 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.6712, allocations: 65.67 kB / 0.7157 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6712, allocations: 0 / 0.7157 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6712, allocations: 4 kB / 0.7157 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.6712, allocations: 3.984 kB / 0.7157 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6713, allocations: 55.89 kB / 0.7158 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.672, allocations: 377.8 kB / 0.7161 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6721, allocations: 62.56 kB / 0.7162 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.6721, allocations: 21.03 kB / 0.7162 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002576/0.6747, allocations: 1.225 MB / 0.7174 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.6748, allocations: 42.48 kB / 0.7175 GB, free: 3.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.6748, allocations: 0 / 0.7175 GB, free: 3.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.01017/0.6849, allocations: 0.6532 MB / 0.7181 GB, free: 3.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.685, allocations: 51.41 kB / 0.7181 GB, free: 3.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.6852, allocations: 109.8 kB / 0.7183 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.6853, allocations: 25.7 kB / 0.7183 GB, free: 3.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.6854, allocations: 92.38 kB / 0.7184 GB, free: 3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6855, allocations: 51.53 kB / 0.7184 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.6856, allocations: 41.67 kB / 0.7185 GB, free: 2.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6858, allocations: 322.8 kB / 0.7188 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.6861, allocations: 75.95 kB / 0.7188 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.6865, allocations: 106.5 kB / 0.7189 GB, free: 2.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.6872, allocations: 213.9 kB / 0.7191 GB, free: 2.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6872, allocations: 0 / 0.7191 GB, free: 2.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009146/0.6881, allocations: 241.5 kB / 0.7194 GB, free: 1.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6881, allocations: 8 kB / 0.7194 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6881, allocations: 64 / 0.7194 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6881, allocations: 4 kB / 0.7194 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.689, allocations: 55.94 kB / 0.7194 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.689, allocations: 0 / 0.7194 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.6897, allocations: 15.94 kB / 0.7194 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.6898, allocations: 15.97 kB / 0.7195 GB, free: 1.836 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.69, allocations: 125.7 kB / 0.7196 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.6901, allocations: 7.953 kB / 0.7196 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.6913, allocations: 341.9 kB / 0.7199 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.6913, allocations: 7.984 kB / 0.7199 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6913, allocations: 0 / 0.7199 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6913, allocations: 0 / 0.7199 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.6931, allocations: 0.7596 MB / 0.7207 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6931, allocations: 4 kB / 0.7207 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.694, allocations: 47.89 kB / 0.7207 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.694, allocations: 4 kB / 0.7207 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.694, allocations: 7.984 kB / 0.7207 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.694, allocations: 4 kB / 0.7207 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.6941, allocations: 3.938 kB / 0.7207 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.6949, allocations: 354.6 kB / 0.7211 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.6952, allocations: 105 kB / 0.7212 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.6952, allocations: 0 / 0.7212 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.696, allocations: 15.98 kB / 0.7212 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.696, allocations: 15.91 kB / 0.7212 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.6961, allocations: 19.92 kB / 0.7212 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.6962, allocations: 79.28 kB / 0.7213 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6962, allocations: 0 / 0.7213 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007434/0.6969, allocations: 103.7 kB / 0.7214 GB, free: 15.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006853/0.6976, allocations: 222.8 kB / 0.7216 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008254/0.6984, allocations: 207.8 kB / 0.7218 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6984, allocations: 0 / 0.7218 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.6988, allocations: 111.8 kB / 0.7219 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.6995, allocations: 31.95 kB / 0.7219 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.7004, allocations: 272.1 kB / 0.7222 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.7008, allocations: 0.6933 MB / 0.7229 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000502/0.7013, allocations: 60.77 kB / 0.7229 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.7016, allocations: 35.38 kB / 0.723 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7016, allocations: 0 / 0.723 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.01808/0.7197, allocations: 6.373 MB / 0.7292 GB, free: 7.66 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.161109515000135]