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.00111/0.00111, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002796, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008423/0.0008423, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001862, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8872/0.8872, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1359/1.023, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1664/0.1664, allocations: 32.34 MB / 253.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02294/0.1894, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.262e-05, allocations: 2.312 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3255/0.3256, allocations: 145.9 MB / 413.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3286, allocations: 3.646 MB / 416.9 MB, free: 2.145 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.3286, allocations: 0 / 416.9 MB, free: 2.145 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.3287, allocations: 31.81 kB / 417 MB, free: 2.113 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.3288, allocations: 31.7 kB / 417 MB, free: 2.082 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.3296, allocations: 425.5 kB / 417.4 MB, free: 1.664 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.3297, allocations: 67.55 kB / 417.5 MB, free: 1.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.3297, allocations: 4 kB / 417.5 MB, free: 1.594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.3298, allocations: 53.44 kB / 417.5 MB, free: 1.543 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.3299, allocations: 23.98 kB / 417.6 MB, free: 1.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.3299, allocations: 0 / 417.6 MB, free: 1.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.3306, allocations: 486.5 kB / 418 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3306, allocations: 3.938 kB / 418 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3306, allocations: 16 kB / 418.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3309, allocations: 291.2 kB / 418.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.331, allocations: 0 / 418.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.331, allocations: 0 / 418.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.331, allocations: 0 / 418.3 MB, free: 0.7383 MB / 394.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.0004705/0.3314, allocations: 437.9 kB / 418.8 MB, free: 276 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3315, allocations: 15.89 kB / 418.8 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3315, allocations: 12.86 kB / 418.8 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.3316, allocations: 113.9 kB / 418.9 MB, free: 108 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3316, allocations: 7.938 kB / 418.9 MB, free: 100 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3316, allocations: 4 kB / 418.9 MB, free: 96 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.3317, allocations: 68.48 kB / 419 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3317, allocations: 0 / 419 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.3317, allocations: 0 / 419 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3317, allocations: 0 / 419 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/0.3318, allocations: 28.02 kB / 419 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.332, allocations: 205.8 kB / 419.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.3321, allocations: 42.56 kB / 419.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.3321, allocations: 17.03 kB / 419.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/0.3327, allocations: 275.6 kB / 419.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3327, allocations: 34.56 kB / 419.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3327, allocations: 0 / 419.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003096/0.3358, allocations: 0.7491 MB / 420.3 MB, free: 14.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3358, allocations: 59.41 kB / 420.4 MB, free: 14.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.3359, allocations: 106.6 kB / 420.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3359, allocations: 25.7 kB / 420.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.336, allocations: 96.3 kB / 420.6 MB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.336, allocations: 47.58 kB / 420.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3361, allocations: 45.67 kB / 420.7 MB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.3362, allocations: 326.6 kB / 421 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.3362, allocations: 65.23 kB / 421.1 MB, free: 13.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.3363, allocations: 98.47 kB / 421.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3365, allocations: 184.2 kB / 421.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3365, allocations: 0 / 421.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002153/0.3367, allocations: 205.6 kB / 421.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3367, allocations: 4 kB / 421.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3367, allocations: 4 kB / 421.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3367, allocations: 0 / 421.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.337, allocations: 63.84 kB / 421.6 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.337, allocations: 7.938 kB / 421.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3372, allocations: 12 kB / 421.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.3372, allocations: 10.86 kB / 421.7 MB, free: 13.23 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 8.805e-05/0.3373, allocations: 125.8 kB / 421.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3374, allocations: 11.94 kB / 421.8 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.3377, allocations: 288.4 kB / 422.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3377, allocations: 0 / 422.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3377, allocations: 0 / 422.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3377, allocations: 7.938 kB / 422.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3382, allocations: 421.9 kB / 422.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3382, allocations: 4 kB / 422.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.3384, allocations: 55.94 kB / 422.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3385, allocations: 19.92 kB / 422.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3385, allocations: 11.88 kB / 422.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3385, allocations: 3.984 kB / 422.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3385, allocations: 0 / 422.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3385, allocations: 0 / 422.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3388, allocations: 295.5 kB / 422.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.339, allocations: 7.938 kB / 422.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3391, allocations: 11.98 kB / 422.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3392, allocations: 19.97 kB / 422.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3392, allocations: 4 kB / 422.9 MB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.955e-05/0.3392, allocations: 13.72 kB / 422.9 MB, free: 11.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3392, allocations: 0 / 422.9 MB, free: 11.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.3395, allocations: 103.7 kB / 423 MB, free: 11.8 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.0003364/0.3399, allocations: 219.9 kB / 423.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3401, allocations: 192.7 kB / 423.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3401, allocations: 0 / 423.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3402, allocations: 124.2 kB / 423.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3404, allocations: 103 kB / 423.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3418, allocations: 256 kB / 423.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.3418, allocations: 60.06 kB / 424 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.342, allocations: 74.47 kB / 424 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.3422, allocations: 83.33 kB / 424.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3422, allocations: 0 / 424.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of Templates: time 0.008606/0.3509, allocations: 6.851 MB / 431 MB, free: 3.801 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2071854434907436]