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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002069/0.002069, allocations: 214.8 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2177/0.2177, allocations: 46.88 MB / 359.9 MB, free: 5.016 MB / 286.1 MB [Timeout remaining time 90] 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.002268/0.002268, allocations: 75.88 kB / 0.4949 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2955, allocations: 65.98 MB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1764/0.4719, allocations: 154.8 MB / 0.7106 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4735, allocations: 1.203 MB / 0.7118 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.4736, allocations: 0 / 0.7118 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.4738, allocations: 39.8 kB / 0.7118 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.4738, allocations: 31.77 kB / 0.7118 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.4751, allocations: 437.6 kB / 0.7122 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4752, allocations: 71.59 kB / 0.7123 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.4753, allocations: 0 / 0.7123 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.4754, allocations: 31.92 kB / 0.7123 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.4754, allocations: 31.84 kB / 0.7124 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.4754, allocations: 4 kB / 0.7124 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.4765, allocations: 0.5103 MB / 0.7129 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.4765, allocations: 15.98 kB / 0.7129 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.4766, allocations: 27.86 kB / 0.7129 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.4771, allocations: 317.7 kB / 0.7132 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4771, allocations: 0 / 0.7132 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4771, allocations: 0 / 0.7132 GB, free: 7.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4771, allocations: 0 / 0.7132 GB, free: 7.066 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.0005848/0.4777, allocations: 406.8 kB / 0.7136 GB, free: 6.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4778, allocations: 15.97 kB / 0.7136 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.4778, allocations: 0.9375 kB / 0.7136 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.4779, allocations: 174.9 kB / 0.7138 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4779, allocations: 8 kB / 0.7138 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.478, allocations: 4 kB / 0.7138 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4781, allocations: 69.66 kB / 0.7139 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4781, allocations: 4 kB / 0.7139 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4781, allocations: 4 kB / 0.7139 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.4781, allocations: 0 / 0.7139 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.4782, allocations: 51.91 kB / 0.7139 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.4787, allocations: 377.8 kB / 0.7143 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4788, allocations: 58.56 kB / 0.7143 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.4788, allocations: 24.97 kB / 0.7144 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.4807, allocations: 1.221 MB / 0.7156 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4807, allocations: 42.5 kB / 0.7156 GB, free: 4.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4807, allocations: 0 / 0.7156 GB, free: 4.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006752/0.4875, allocations: 0.6488 MB / 0.7162 GB, free: 3.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4875, allocations: 51.97 kB / 0.7163 GB, free: 3.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.4876, allocations: 109.8 kB / 0.7164 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4877, allocations: 29.7 kB / 0.7164 GB, free: 3.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.4877, allocations: 92.31 kB / 0.7165 GB, free: 3.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.4878, allocations: 55.58 kB / 0.7166 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4879, allocations: 41.67 kB / 0.7166 GB, free: 3.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.488, allocations: 322.8 kB / 0.7169 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.4882, allocations: 83.94 kB / 0.717 GB, free: 2.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.4885, allocations: 106.6 kB / 0.7171 GB, free: 2.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.4889, allocations: 210.6 kB / 0.7173 GB, free: 2.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4889, allocations: 0 / 0.7173 GB, free: 2.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005898/0.4895, allocations: 241.5 kB / 0.7175 GB, free: 2.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4895, allocations: 8 kB / 0.7175 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4895, allocations: 64 / 0.7175 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4895, allocations: 4 kB / 0.7175 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.4902, allocations: 59.88 kB / 0.7176 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4902, allocations: 0 / 0.7176 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.4907, allocations: 15.98 kB / 0.7176 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.4908, allocations: 15.98 kB / 0.7176 GB, free: 2.066 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.0001255/0.4909, allocations: 125.7 kB / 0.7177 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.4909, allocations: 7.953 kB / 0.7177 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008187/0.4918, allocations: 345.4 kB / 0.7181 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4918, allocations: 4 kB / 0.7181 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4918, allocations: 0 / 0.7181 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4918, allocations: 0 / 0.7181 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.493, allocations: 0.7644 MB / 0.7188 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.493, allocations: 0 / 0.7188 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.4936, allocations: 47.91 kB / 0.7189 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4936, allocations: 4 kB / 0.7189 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.4936, allocations: 3.984 kB / 0.7189 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4936, allocations: 0 / 0.7189 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4936, allocations: 7.938 kB / 0.7189 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.4942, allocations: 353.9 kB / 0.7192 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4944, allocations: 101 kB / 0.7193 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.4944, allocations: 8 kB / 0.7193 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.4949, allocations: 7.984 kB / 0.7193 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.495, allocations: 23.86 kB / 0.7194 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.495, allocations: 11.98 kB / 0.7194 GB, free: 132 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.495, allocations: 83.28 kB / 0.7194 GB, free: 48 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.495, allocations: 0 / 0.7194 GB, free: 48 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004675/0.4955, allocations: 107.8 kB / 0.7195 GB, free: 15.94 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.0004212/0.4959, allocations: 218.8 kB / 0.7198 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.4965, allocations: 211.8 kB / 0.72 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4965, allocations: 0 / 0.72 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.4968, allocations: 115.8 kB / 0.7201 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4972, allocations: 34.39 kB / 0.7201 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.4978, allocations: 288.8 kB / 0.7204 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4981, allocations: 0.6933 MB / 0.7211 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.4983, allocations: 39.39 kB / 0.7211 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4983, allocations: 0 / 0.7211 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.006442/0.5048, allocations: 4.123 MB / 0.7251 GB, free: 10.17 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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