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.00154/0.00154, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001184/0.001184, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 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.122/1.122, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.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.1447/0.1447, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.695e-06/2.695e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.032e-05/4.301e-05, allocations: 5.406 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3028/0.3029, allocations: 146.1 MB / 493.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.3057, allocations: 3.634 MB / 497.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.3058, allocations: 0 / 497.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.3059, allocations: 34.94 kB / 497.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.306, allocations: 27.25 kB / 497.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3073, allocations: 436 kB / 497.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.3074, allocations: 77.27 kB / 498 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3075, allocations: 3.156 kB / 498 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3076, allocations: 46.28 kB / 498 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.3076, allocations: 19.88 kB / 498 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3076, allocations: 2.406 kB / 498 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008223/0.3085, allocations: 469 kB / 498.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.3085, allocations: 3.406 kB / 498.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3085, allocations: 25.45 kB / 498.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.3089, allocations: 325.6 kB / 498.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3089, allocations: 0 / 498.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3089, allocations: 0 / 498.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3089, allocations: 7.938 kB / 498.9 MB, free: 7.586 MB / 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.0004285/0.3093, allocations: 444 kB / 499.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3094, allocations: 9 kB / 499.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.3094, allocations: 13.36 kB / 499.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.3095, allocations: 107.7 kB / 499.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3095, allocations: 10.09 kB / 499.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3095, allocations: 10.3 kB / 499.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3096, allocations: 55.27 kB / 499.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3096, allocations: 3.953 kB / 499.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3097, allocations: 6.125 kB / 499.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3097, allocations: 4 kB / 499.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.3097, allocations: 27.95 kB / 499.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.31, allocations: 301.5 kB / 499.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.3101, allocations: 63.83 kB / 499.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.3101, allocations: 23.52 kB / 499.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.3108, allocations: 267.9 kB / 0.4885 GB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3108, allocations: 37.38 kB / 0.4885 GB, free: 6.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3108, allocations: 0 / 0.4885 GB, free: 6.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003155/0.314, allocations: 0.7285 MB / 0.4892 GB, free: 6.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.314, allocations: 54.53 kB / 0.4892 GB, free: 6.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.3141, allocations: 173.3 kB / 0.4894 GB, free: 6.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3141, allocations: 25.7 kB / 0.4894 GB, free: 6.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.3141, allocations: 131.1 kB / 0.4896 GB, free: 5.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3142, allocations: 52.09 kB / 0.4896 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.3142, allocations: 51.61 kB / 0.4897 GB, free: 5.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.3143, allocations: 0.4942 MB / 0.4901 GB, free: 5.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3144, allocations: 102.8 kB / 0.4902 GB, free: 5.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3145, allocations: 143.3 kB / 0.4904 GB, free: 5.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3147, allocations: 249.9 kB / 0.4906 GB, free: 5.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3147, allocations: 0 / 0.4906 GB, free: 5.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003176/0.3151, allocations: 299.1 kB / 0.4909 GB, free: 5.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3151, allocations: 5.25 kB / 0.4909 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3151, allocations: 6.844 kB / 0.4909 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3151, allocations: 3.938 kB / 0.4909 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.3154, allocations: 53.2 kB / 0.491 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3154, allocations: 3.5 kB / 0.491 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.3156, allocations: 15.58 kB / 0.491 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3157, allocations: 16.27 kB / 0.491 GB, free: 5.086 MB / 362.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 6.736e-05/0.3157, allocations: 162.6 kB / 0.4912 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3158, allocations: 12.73 kB / 0.4912 GB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.3162, allocations: 382.4 kB / 0.4915 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3162, allocations: 3.938 kB / 0.4915 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3162, allocations: 2.188 kB / 0.4915 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3162, allocations: 0 / 0.4915 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3168, allocations: 0.7643 MB / 0.4923 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3168, allocations: 3.938 kB / 0.4923 GB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.3171, allocations: 45.97 kB / 0.4923 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3171, allocations: 7.938 kB / 0.4923 GB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3171, allocations: 6.984 kB / 0.4923 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3171, allocations: 0 / 0.4923 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3171, allocations: 0 / 0.4923 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3174, allocations: 441.5 kB / 0.4928 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3175, allocations: 31.97 kB / 0.4928 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3175, allocations: 4 kB / 0.4928 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3177, allocations: 10.27 kB / 0.4928 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3178, allocations: 17.53 kB / 0.4928 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3178, allocations: 5.531 kB / 0.4928 GB, free: 3.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.3178, allocations: 137 kB / 0.493 GB, free: 3.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3178, allocations: 0 / 0.493 GB, free: 3.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.3181, allocations: 101.9 kB / 0.4931 GB, free: 3.703 MB / 362.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.0003163/0.3184, allocations: 233.6 kB / 0.4933 GB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.3187, allocations: 265.3 kB / 0.4935 GB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3187, allocations: 0 / 0.4935 GB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3189, allocations: 156.5 kB / 0.4937 GB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3191, allocations: 36.55 kB / 0.4937 GB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.3198, allocations: 252.6 kB / 0.494 GB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.3198, allocations: 68.81 kB / 0.494 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.32, allocations: 61.98 kB / 0.4941 GB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3201, allocations: 42.31 kB / 0.4941 GB, free: 3.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3201, allocations: 0 / 0.4941 GB, free: 3.07 MB / 362.7 MB Notification: Performance of Templates: time 0.008149/0.3283, allocations: 7.508 MB / 0.5015 GB, free: 13.67 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 -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.8002416687086225]