Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001489/0.001489, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001652/0.001652, allocations: 211.9 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 79.89 kB / 468.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 61.03 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4225/0.5449, allocations: 131.8 MB / 0.6461 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005815/0.5507, allocations: 3.318 MB / 0.6493 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.5508, allocations: 0 / 0.6493 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.551, allocations: 31.83 kB / 0.6493 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.5511, allocations: 23.78 kB / 0.6494 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.5529, allocations: 425.5 kB / 0.6498 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.553, allocations: 75.58 kB / 0.6498 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.5531, allocations: 4 kB / 0.6499 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.5532, allocations: 35.86 kB / 0.6499 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.5533, allocations: 27.91 kB / 0.6499 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.5533, allocations: 0 / 0.6499 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.5546, allocations: 460 kB / 0.6504 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.5546, allocations: 3.938 kB / 0.6504 GB, free: 9.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.5547, allocations: 31.91 kB / 0.6504 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.5554, allocations: 298 kB / 0.6507 GB, free: 9.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5554, allocations: 0 / 0.6507 GB, free: 9.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5554, allocations: 0 / 0.6507 GB, free: 9.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.5554, allocations: 0 / 0.6507 GB, free: 9.473 MB / 494.1 MB 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.0006993/0.5561, allocations: 337.7 kB / 0.651 GB, free: 9.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5562, allocations: 8.031 kB / 0.651 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.5562, allocations: 8.891 kB / 0.651 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.5563, allocations: 105.9 kB / 0.6511 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5564, allocations: 7.938 kB / 0.6511 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.5564, allocations: 8 kB / 0.6511 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5566, allocations: 82.28 kB / 0.6512 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5566, allocations: 7.984 kB / 0.6512 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5566, allocations: 4 kB / 0.6512 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5566, allocations: 0 / 0.6512 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.5567, allocations: 51.97 kB / 0.6513 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.5572, allocations: 252.4 kB / 0.6515 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.5573, allocations: 62.5 kB / 0.6516 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.5574, allocations: 24.84 kB / 0.6516 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/0.5589, allocations: 259.7 kB / 0.6518 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.559, allocations: 38.56 kB / 0.6519 GB, free: 8.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.559, allocations: 0 / 0.6519 GB, free: 8.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.007077/0.5661, allocations: 0.6729 MB / 0.6525 GB, free: 7.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.5661, allocations: 51.41 kB / 0.6526 GB, free: 7.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5663, allocations: 103.4 kB / 0.6527 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5663, allocations: 33.7 kB / 0.6527 GB, free: 7.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.5664, allocations: 92.3 kB / 0.6528 GB, free: 7.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.5665, allocations: 51.59 kB / 0.6528 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.5666, allocations: 41.67 kB / 0.6529 GB, free: 7.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5668, allocations: 318.8 kB / 0.6532 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.567, allocations: 83.88 kB / 0.6533 GB, free: 6.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5672, allocations: 106.5 kB / 0.6534 GB, free: 6.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.5677, allocations: 202.5 kB / 0.6536 GB, free: 6.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5677, allocations: 0 / 0.6536 GB, free: 6.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006028/0.5683, allocations: 249.5 kB / 0.6538 GB, free: 6.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5683, allocations: 7.938 kB / 0.6538 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5683, allocations: 0 / 0.6538 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.5683, allocations: 4.562 kB / 0.6538 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.5691, allocations: 55.89 kB / 0.6539 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5691, allocations: 7.922 kB / 0.6539 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.5696, allocations: 17 kB / 0.6539 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.5697, allocations: 15.98 kB / 0.6539 GB, free: 5.969 MB / 494.1 MB 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.0001398/0.5698, allocations: 109.8 kB / 0.654 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.5699, allocations: 11.88 kB / 0.654 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.5707, allocations: 350.9 kB / 0.6544 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5707, allocations: 0 / 0.6544 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5707, allocations: 0 / 0.6544 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5707, allocations: 7.938 kB / 0.6544 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.572, allocations: 0.6785 MB / 0.655 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.572, allocations: 1.5 kB / 0.655 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.5726, allocations: 43.97 kB / 0.6551 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5727, allocations: 0 / 0.6551 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.5727, allocations: 7.984 kB / 0.6551 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.5727, allocations: 0 / 0.6551 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5727, allocations: 4 kB / 0.6551 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.5734, allocations: 370.7 kB / 0.6554 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5735, allocations: 31.84 kB / 0.6555 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.5735, allocations: 4 kB / 0.6555 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.574, allocations: 11.98 kB / 0.6555 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.5741, allocations: 15.97 kB / 0.6555 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.5741, allocations: 8.875 kB / 0.6555 GB, free: 4.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.5742, allocations: 87.27 kB / 0.6556 GB, free: 4.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5742, allocations: 0 / 0.6556 GB, free: 4.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.5747, allocations: 99.8 kB / 0.6557 GB, free: 4.043 MB / 494.1 MB 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.0005019/0.5752, allocations: 218.8 kB / 0.6559 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5757, allocations: 203.8 kB / 0.6561 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5757, allocations: 4 kB / 0.6561 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.576, allocations: 111.8 kB / 0.6562 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.5764, allocations: 34.69 kB / 0.6562 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.5772, allocations: 278.8 kB / 0.6565 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.5773, allocations: 83.78 kB / 0.6566 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.5775, allocations: 43.38 kB / 0.6566 GB, free: 3.031 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5775, allocations: 3.938 kB / 0.6566 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Templates: time 0.008453/0.5859, allocations: 4.187 MB / 0.6607 GB, free: 14.84 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.13039172720164]