Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2526/0.2526, allocations: 46.92 MB / 357.1 MB, free: 10.34 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.84 kB / 0.4914 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1395, allocations: 65.98 MB / 0.5558 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4984/0.6379, allocations: 154.8 MB / 0.707 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.6396, allocations: 1.204 MB / 0.7082 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.6397, allocations: 0 / 0.7082 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.6399, allocations: 43.73 kB / 0.7083 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.6399, allocations: 27.77 kB / 0.7083 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.6415, allocations: 433.8 kB / 0.7087 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.6417, allocations: 67.59 kB / 0.7088 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.6417, allocations: 11.98 kB / 0.7088 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.6419, allocations: 27.92 kB / 0.7088 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.6419, allocations: 23.92 kB / 0.7088 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.6419, allocations: 8 kB / 0.7088 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.6432, allocations: 0.5146 MB / 0.7093 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.6432, allocations: 11.92 kB / 0.7093 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.6433, allocations: 31.86 kB / 0.7094 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.6439, allocations: 315.7 kB / 0.7097 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6439, allocations: 0 / 0.7097 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6439, allocations: 0 / 0.7097 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6439, allocations: 0 / 0.7097 GB, free: 3.676 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000707/0.6446, allocations: 410.8 kB / 0.7101 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6446, allocations: 8.031 kB / 0.7101 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.6447, allocations: 9.297 kB / 0.7101 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.6448, allocations: 168.3 kB / 0.7102 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6449, allocations: 8 kB / 0.7102 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.6449, allocations: 4 kB / 0.7103 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.6451, allocations: 66.55 kB / 0.7103 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6451, allocations: 7.984 kB / 0.7103 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.6451, allocations: 3.938 kB / 0.7103 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6451, allocations: 8 kB / 0.7103 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.6452, allocations: 47.95 kB / 0.7104 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.6458, allocations: 381.8 kB / 0.7107 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.6459, allocations: 58.5 kB / 0.7108 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.646, allocations: 24.78 kB / 0.7108 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/0.648, allocations: 1.217 MB / 0.712 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6481, allocations: 42.48 kB / 0.7121 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.6481, allocations: 4 kB / 0.7121 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007217/0.6553, allocations: 0.6568 MB / 0.7127 GB, free: 156 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.6554, allocations: 59.41 kB / 0.7128 GB, free: 84 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.6555, allocations: 101.8 kB / 0.7129 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.6555, allocations: 29.7 kB / 0.7129 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.6556, allocations: 92.31 kB / 0.713 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.6557, allocations: 47.59 kB / 0.713 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.6558, allocations: 45.67 kB / 0.7131 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.656, allocations: 318.8 kB / 0.7134 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.6562, allocations: 79.95 kB / 0.7134 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.6564, allocations: 111.2 kB / 0.7135 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.6569, allocations: 190.5 kB / 0.7137 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6569, allocations: 0.875 kB / 0.7137 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006281/0.6575, allocations: 257.4 kB / 0.714 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6576, allocations: 5.875 kB / 0.714 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6576, allocations: 0 / 0.714 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6576, allocations: 4 kB / 0.714 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.6583, allocations: 51.94 kB / 0.714 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6583, allocations: 0 / 0.714 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.6589, allocations: 12 kB / 0.714 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.659, allocations: 20.66 kB / 0.7141 GB, free: 14.69 MB / 0.5294 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.0001426/0.6591, allocations: 127.9 kB / 0.7142 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.6592, allocations: 7.953 kB / 0.7142 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.6601, allocations: 343.9 kB / 0.7145 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6601, allocations: 11.92 kB / 0.7145 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6601, allocations: 0 / 0.7145 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6601, allocations: 3.938 kB / 0.7145 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.6614, allocations: 0.758 MB / 0.7153 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6614, allocations: 0 / 0.7153 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.662, allocations: 51.89 kB / 0.7153 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.662, allocations: 0 / 0.7153 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.6621, allocations: 7.984 kB / 0.7153 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6621, allocations: 4 kB / 0.7153 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6621, allocations: 0 / 0.7153 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.6627, allocations: 364.4 kB / 0.7157 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.6628, allocations: 101 kB / 0.7158 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.6629, allocations: 4 kB / 0.7158 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.6635, allocations: 8 kB / 0.7158 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.6635, allocations: 23.91 kB / 0.7158 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.6636, allocations: 11.98 kB / 0.7158 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.6636, allocations: 83.28 kB / 0.7159 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6636, allocations: 0 / 0.7159 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005211/0.6642, allocations: 103.7 kB / 0.716 GB, free: 12.56 MB / 0.5294 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.0004958/0.6646, allocations: 214.8 kB / 0.7162 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.6652, allocations: 207.8 kB / 0.7164 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6652, allocations: 0 / 0.7164 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.6655, allocations: 118.1 kB / 0.7165 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.6659, allocations: 34.14 kB / 0.7166 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.6666, allocations: 255.9 kB / 0.7168 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6669, allocations: 0.6965 MB / 0.7175 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.6673, allocations: 65.19 kB / 0.7175 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.6675, allocations: 39.38 kB / 0.7176 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.6675, allocations: 0 / 0.7176 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.01134/0.6788, allocations: 6.228 MB / 0.7237 GB, free: 4.664 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.048095401376486]