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.001197/0.001197, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001831/0.003028, allocations: 447.8 kB / 10.35 MB, free: 348 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.001185/0.001185, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002665, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9951/0.9951, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1607/1.156, allocations: 49.5 MB / 220.5 MB, free: 5.258 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.126/0.126, allocations: 32.34 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02034/0.1464, allocations: 12.29 MB / 265.9 MB, free: 7.824 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.242e-06/1.242e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.315e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.286/0.286, allocations: 145.9 MB / 413.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.289, allocations: 3.655 MB / 416.8 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.2891, allocations: 0 / 416.8 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2892, allocations: 31.77 kB / 416.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.2892, allocations: 31.77 kB / 416.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2903, allocations: 421.5 kB / 417.2 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2904, allocations: 76.16 kB / 417.3 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2904, allocations: 8 kB / 417.3 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2905, allocations: 47.89 kB / 417.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.2906, allocations: 19.97 kB / 417.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2906, allocations: 0 / 417.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.2915, allocations: 482.5 kB / 417.9 MB, free: 324 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.2915, allocations: 7.938 kB / 417.9 MB, free: 316 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.2915, allocations: 12 kB / 417.9 MB, free: 304 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.2919, allocations: 296.5 kB / 418.2 MB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.2919, allocations: 4 kB / 418.2 MB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2919, allocations: 0 / 418.2 MB, free: 4 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2919, allocations: 0 / 418.2 MB, free: 4 kB / 362.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.0005483/0.2925, allocations: 425 kB / 418.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2925, allocations: 15.89 kB / 418.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.2926, allocations: 12.92 kB / 418.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.2926, allocations: 117.9 kB / 418.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2926, allocations: 3.938 kB / 418.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2927, allocations: 11.94 kB / 418.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.2928, allocations: 65.86 kB / 418.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2928, allocations: 0 / 418.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.2928, allocations: 4 kB / 418.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2928, allocations: 4 kB / 418.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.2928, allocations: 15.98 kB / 418.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.293, allocations: 205.7 kB / 419 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.2931, allocations: 54.53 kB / 419.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.2931, allocations: 8.859 kB / 419.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.2937, allocations: 271.7 kB / 419.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2938, allocations: 38.69 kB / 419.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2938, allocations: 0 / 419.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.00268/0.2964, allocations: 0.6006 MB / 420 MB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.2965, allocations: 51.41 kB / 420 MB, free: 13.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.2965, allocations: 118.6 kB / 420.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2965, allocations: 25.7 kB / 420.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2966, allocations: 96.25 kB / 420.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2966, allocations: 47.58 kB / 420.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.2967, allocations: 45.66 kB / 420.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.2968, allocations: 322.8 kB / 420.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.2968, allocations: 67.98 kB / 420.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.2969, allocations: 95.78 kB / 420.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.2971, allocations: 186.1 kB / 421 MB, free: 12.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2971, allocations: 0 / 421 MB, free: 12.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002075/0.2973, allocations: 201.5 kB / 421.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2973, allocations: 8 kB / 421.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2973, allocations: 3.984 kB / 421.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.2973, allocations: 0 / 421.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2976, allocations: 63.97 kB / 421.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2976, allocations: 7.938 kB / 421.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2978, allocations: 16 kB / 421.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2978, allocations: 7.984 kB / 421.3 MB, free: 12.65 MB / 378.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.805e-05/0.2979, allocations: 113.8 kB / 421.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.2979, allocations: 15.97 kB / 421.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.2982, allocations: 293.6 kB / 421.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2982, allocations: 4 kB / 421.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2982, allocations: 0 / 421.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2982, allocations: 7.922 kB / 421.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.2986, allocations: 414.6 kB / 422.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2986, allocations: 0 / 422.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.2989, allocations: 59.88 kB / 422.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2989, allocations: 19.94 kB / 422.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.2989, allocations: 7.938 kB / 422.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.299, allocations: 0 / 422.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.299, allocations: 4 kB / 422.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.299, allocations: 0 / 422.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2992, allocations: 295.5 kB / 422.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2992, allocations: 7.938 kB / 422.5 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2994, allocations: 11.98 kB / 422.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.2994, allocations: 11.98 kB / 422.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2994, allocations: 7.984 kB / 422.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.189e-05/0.2994, allocations: 12.84 kB / 422.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2994, allocations: 7.875 kB / 422.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.2997, allocations: 111.7 kB / 422.7 MB, free: 11.21 MB / 378.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.0003005/0.3, allocations: 209.4 kB / 422.9 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3002, allocations: 203.4 kB / 423.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3002, allocations: 0 / 423.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.3003, allocations: 104.8 kB / 423.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.3005, allocations: 43.33 kB / 423.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3019, allocations: 264.1 kB / 423.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.527e-05/0.3019, allocations: 64.05 kB / 423.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.3021, allocations: 62.5 kB / 423.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3023, allocations: 87.31 kB / 423.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3023, allocations: 0 / 423.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of Templates: time 0.008208/0.3105, allocations: 7.484 MB / 431.2 MB, free: 2.684 MB / 378.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2134707253426313]