Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001004/0.001004, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001166/0.001166, allocations: 170.4 kB / 24.91 MB, free: 8.688 MB / 18.57 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 0.9846/0.9846, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 32.81 MB / 294.6 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.513e-05, allocations: 2.312 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3281/0.3281, allocations: 146.8 MB / 470 MB, free: 16.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3293, allocations: 1.187 MB / 471.2 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.3293, allocations: 0 / 471.2 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.3295, allocations: 36.81 kB / 471.2 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.3295, allocations: 31.27 kB / 471.3 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3307, allocations: 443.9 kB / 471.7 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3308, allocations: 77.03 kB / 471.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3308, allocations: 7.375 kB / 471.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.3309, allocations: 42.48 kB / 471.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.331, allocations: 19.39 kB / 471.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.331, allocations: 2.938 kB / 471.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.3318, allocations: 482 kB / 472.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3318, allocations: 5.203 kB / 472.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.3318, allocations: 22.98 kB / 472.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3322, allocations: 337.5 kB / 472.7 MB, free: 16.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3322, allocations: 3.312 kB / 472.7 MB, free: 16.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3322, allocations: 1.203 kB / 472.7 MB, free: 16.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3322, allocations: 0 / 472.7 MB, free: 16.75 MB / 410.7 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.0003834/0.3326, allocations: 307.8 kB / 473 MB, free: 16.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3326, allocations: 11.97 kB / 473 MB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.3327, allocations: 9.844 kB / 473 MB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.808e-05/0.3327, allocations: 120.6 kB / 473.1 MB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3327, allocations: 3.5 kB / 473.1 MB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3328, allocations: 15.11 kB / 473.1 MB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.3328, allocations: 64.22 kB / 473.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3329, allocations: 0 / 473.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.3329, allocations: 0 / 473.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3329, allocations: 0 / 473.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.3329, allocations: 23.28 kB / 473.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.3331, allocations: 197 kB / 473.4 MB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.3332, allocations: 52.44 kB / 473.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.3332, allocations: 19.09 kB / 473.5 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/0.3339, allocations: 259 kB / 473.7 MB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3339, allocations: 39.91 kB / 473.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3339, allocations: 3.281 kB / 473.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003086/0.337, allocations: 0.6028 MB / 474.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.337, allocations: 55.34 kB / 474.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.481e-05/0.3371, allocations: 110.5 kB / 474.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3371, allocations: 34.27 kB / 474.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.3371, allocations: 91.06 kB / 474.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3372, allocations: 46.84 kB / 474.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.3372, allocations: 40.7 kB / 474.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.198e-05/0.3373, allocations: 318.6 kB / 475.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.3373, allocations: 74.06 kB / 475.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.3374, allocations: 95.48 kB / 475.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3376, allocations: 180.9 kB / 475.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3376, allocations: 0 / 475.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002472/0.3379, allocations: 203.1 kB / 475.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3379, allocations: 7.656 kB / 475.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3379, allocations: 0 / 475.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3379, allocations: 7.688 kB / 475.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.3382, allocations: 49.5 kB / 475.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3383, allocations: 5.344 kB / 475.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3385, allocations: 14.31 kB / 475.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3385, allocations: 9.266 kB / 475.7 MB, free: 15.24 MB / 410.7 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 7.474e-05/0.3386, allocations: 118.2 kB / 475.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3386, allocations: 12.23 kB / 475.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.339, allocations: 291.2 kB / 476.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.339, allocations: 2.656 kB / 476.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.339, allocations: 7.25 kB / 476.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.339, allocations: 0 / 476.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.3395, allocations: 420.6 kB / 476.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3395, allocations: 0 / 476.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.3398, allocations: 40.58 kB / 476.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3398, allocations: 9.906 kB / 476.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3398, allocations: 9.859 kB / 476.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3398, allocations: 0 / 476.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3398, allocations: 0 / 476.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.34, allocations: 301.4 kB / 476.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3401, allocations: 16.45 kB / 476.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3401, allocations: 3.938 kB / 476.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.3404, allocations: 9.156 kB / 476.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3404, allocations: 17.34 kB / 476.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.3404, allocations: 9.406 kB / 476.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.3404, allocations: 10.03 kB / 476.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3404, allocations: 4 kB / 476.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.3408, allocations: 103.3 kB / 477 MB, free: 14.71 MB / 410.7 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.0003224/0.3411, allocations: 228.2 kB / 477.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3413, allocations: 190.9 kB / 477.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3414, allocations: 0 / 477.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3415, allocations: 112.1 kB / 477.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3417, allocations: 42.7 kB / 477.6 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.3423, allocations: 243.6 kB / 477.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.3423, allocations: 63.8 kB / 477.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000238/0.3426, allocations: 66.53 kB / 478 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.3428, allocations: 96.39 kB / 478.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3428, allocations: 0 / 478.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of Templates: time 0.008857/0.3517, allocations: 7.457 MB / 485.5 MB, free: 13.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6103677372448146]