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.001604/0.001604, 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.001424/0.001424, 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.426/1.426, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2311/0.2311, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.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.002326/0.002326, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3327, allocations: 66 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1947/0.5275, allocations: 154.9 MB / 0.7124 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.5292, allocations: 1.199 MB / 0.7136 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.5293, allocations: 3.938 kB / 0.7136 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.5295, allocations: 39.8 kB / 0.7136 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.5295, allocations: 31.77 kB / 0.7137 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.5309, allocations: 437.6 kB / 0.7141 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.531, allocations: 75.58 kB / 0.7142 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.5311, allocations: 7.938 kB / 0.7142 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.5312, allocations: 27.98 kB / 0.7142 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.5312, allocations: 31.84 kB / 0.7142 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.5313, allocations: 4 kB / 0.7142 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.5325, allocations: 0.5104 MB / 0.7147 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.5325, allocations: 0 / 0.7147 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.5325, allocations: 35.86 kB / 0.7148 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.5331, allocations: 310 kB / 0.7151 GB, free: 6.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5332, allocations: 0 / 0.7151 GB, free: 6.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5332, allocations: 0 / 0.7151 GB, free: 6.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5332, allocations: 0 / 0.7151 GB, free: 6.832 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.0006226/0.5338, allocations: 422.7 kB / 0.7155 GB, free: 6.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5338, allocations: 11.97 kB / 0.7155 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.5339, allocations: 4.938 kB / 0.7155 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.534, allocations: 174.9 kB / 0.7157 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.534, allocations: 0 / 0.7157 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.534, allocations: 12 kB / 0.7157 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.5342, allocations: 69.66 kB / 0.7157 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5342, allocations: 0 / 0.7157 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.5342, allocations: 12 kB / 0.7157 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5342, allocations: 0 / 0.7157 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.5343, allocations: 43.97 kB / 0.7158 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.5348, allocations: 381.8 kB / 0.7161 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5349, allocations: 66.55 kB / 0.7162 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.5349, allocations: 16.86 kB / 0.7162 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/0.537, allocations: 1.221 MB / 0.7174 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.537, allocations: 42.62 kB / 0.7175 GB, free: 3.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.537, allocations: 0 / 0.7175 GB, free: 3.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.007484/0.5445, allocations: 0.6493 MB / 0.7181 GB, free: 3.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5445, allocations: 55.41 kB / 0.7181 GB, free: 3.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5446, allocations: 101.8 kB / 0.7182 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.5447, allocations: 29.7 kB / 0.7183 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.5447, allocations: 88.38 kB / 0.7184 GB, free: 3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.5448, allocations: 51.53 kB / 0.7184 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.5449, allocations: 49.67 kB / 0.7185 GB, free: 2.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5451, allocations: 318.8 kB / 0.7188 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.5453, allocations: 79.94 kB / 0.7188 GB, free: 2.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5456, allocations: 109.2 kB / 0.7189 GB, free: 2.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.5461, allocations: 207.1 kB / 0.7191 GB, free: 2.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5461, allocations: 0 / 0.7191 GB, free: 2.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006353/0.5467, allocations: 248.7 kB / 0.7194 GB, free: 1.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5468, allocations: 6.5 kB / 0.7194 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5468, allocations: 7.922 kB / 0.7194 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5468, allocations: 4 kB / 0.7194 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.5475, allocations: 59.95 kB / 0.7194 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5475, allocations: 0 / 0.7194 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.5481, allocations: 15.98 kB / 0.7195 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.5482, allocations: 11.98 kB / 0.7195 GB, free: 1.824 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.0001508/0.5483, allocations: 121.7 kB / 0.7196 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.5484, allocations: 7.953 kB / 0.7196 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.5492, allocations: 351.8 kB / 0.7199 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5492, allocations: 0 / 0.7199 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5492, allocations: 0 / 0.7199 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5492, allocations: 0 / 0.7199 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.5505, allocations: 0.7672 MB / 0.7207 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5505, allocations: 4 kB / 0.7207 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.5511, allocations: 48.09 kB / 0.7207 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5511, allocations: 0 / 0.7207 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5512, allocations: 15.98 kB / 0.7207 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5512, allocations: 0 / 0.7207 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5512, allocations: 3.938 kB / 0.7207 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.5518, allocations: 353.4 kB / 0.7211 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.552, allocations: 105 kB / 0.7212 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.552, allocations: 0 / 0.7212 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.5526, allocations: 15.98 kB / 0.7212 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.5527, allocations: 15.92 kB / 0.7212 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.5527, allocations: 11.98 kB / 0.7212 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.5528, allocations: 79.28 kB / 0.7213 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5528, allocations: 0 / 0.7213 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004653/0.5532, 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.0004348/0.5537, allocations: 230.8 kB / 0.7216 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.5542, allocations: 203.9 kB / 0.7218 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5542, allocations: 0 / 0.7218 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.5545, allocations: 115.8 kB / 0.7219 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.555, allocations: 25.02 kB / 0.722 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.5556, allocations: 272 kB / 0.7222 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.556, allocations: 0.6933 MB / 0.7229 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.5563, allocations: 68.73 kB / 0.723 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.5565, allocations: 31.41 kB / 0.723 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5565, allocations: 0 / 0.723 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.01152/0.5681, allocations: 6.374 MB / 0.7292 GB, free: 7.648 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 gbode -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: 5.757723425049335]