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.00106/0.00106, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001029/0.001029, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 0.9401/0.9401, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1256/0.1256, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.553e-06/1.553e-06, allocations: 0 / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.686e-05, allocations: 8.219 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2946/0.2946, allocations: 143.3 MB / 491.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.2976, allocations: 3.581 MB / 495 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.2977, allocations: 2.781 kB / 495 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.2978, allocations: 37.66 kB / 495.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.2978, allocations: 28.38 kB / 495.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2989, allocations: 441.6 kB / 495.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.299, allocations: 74.62 kB / 495.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.299, allocations: 2.406 kB / 495.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2991, allocations: 43.3 kB / 495.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2992, allocations: 20.97 kB / 495.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2992, allocations: 0 / 495.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008098/0.3, allocations: 469.8 kB / 496.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.3, allocations: 5.938 kB / 496.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.3001, allocations: 25.41 kB / 496.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.3004, allocations: 332.7 kB / 496.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3004, allocations: 0 / 496.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3004, allocations: 0 / 496.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3004, allocations: 0 / 496.5 MB, free: 8.531 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.0004711/0.3009, allocations: 439.2 kB / 496.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.301, allocations: 8.25 kB / 496.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.301, allocations: 13.83 kB / 496.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.315e-05/0.3011, allocations: 115 kB / 497 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3011, allocations: 10.31 kB / 497 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3011, allocations: 9.719 kB / 497.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.651e-05/0.3012, allocations: 52.33 kB / 497.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3012, allocations: 6.609 kB / 497.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.3012, allocations: 0 / 497.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3012, allocations: 2.531 kB / 497.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.3012, allocations: 21.84 kB / 497.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.3014, allocations: 295.1 kB / 497.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.3015, allocations: 66.52 kB / 497.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.3015, allocations: 19.66 kB / 497.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.3021, allocations: 281.7 kB / 497.8 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.3022, allocations: 40.58 kB / 497.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.3022, allocations: 0 / 497.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.002784/0.3049, allocations: 0.6647 MB / 498.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.305, allocations: 55.47 kB / 498.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.305, allocations: 172.7 kB / 498.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.305, allocations: 33.02 kB / 498.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.3051, allocations: 133.6 kB / 498.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3051, allocations: 50.23 kB / 498.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.3052, allocations: 54.62 kB / 499 MB, free: 6.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.3052, allocations: 497.4 kB / 499.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.3053, allocations: 84.08 kB / 499.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.3054, allocations: 124.9 kB / 499.7 MB, free: 6.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3056, allocations: 220.7 kB / 499.9 MB, free: 6.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3056, allocations: 4 kB / 499.9 MB, free: 6.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002517/0.3059, allocations: 248 kB / 0.4884 GB, free: 6.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3059, allocations: 9.922 kB / 0.4884 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3059, allocations: 0 / 0.4884 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3059, allocations: 0 / 0.4884 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.3062, allocations: 51.17 kB / 0.4885 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3062, allocations: 10.22 kB / 0.4885 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.3064, allocations: 12.77 kB / 0.4885 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3064, allocations: 15.14 kB / 0.4885 GB, free: 6.062 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 8.434e-05/0.3065, allocations: 163.4 kB / 0.4887 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3065, allocations: 12.48 kB / 0.4887 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.3068, allocations: 338.6 kB / 0.489 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3069, allocations: 6.875 kB / 0.489 GB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3069, allocations: 3.938 kB / 0.489 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3069, allocations: 4 kB / 0.489 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.3073, allocations: 0.7092 MB / 0.4897 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3073, allocations: 3.938 kB / 0.4897 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.3076, allocations: 44.64 kB / 0.4897 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3076, allocations: 0 / 0.4897 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3076, allocations: 10.12 kB / 0.4898 GB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3076, allocations: 3.984 kB / 0.4898 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3076, allocations: 0 / 0.4898 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3079, allocations: 409.5 kB / 0.4902 GB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3079, allocations: 24.59 kB / 0.4902 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3079, allocations: 10.44 kB / 0.4902 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3081, allocations: 8.781 kB / 0.4902 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3082, allocations: 17.34 kB / 0.4902 GB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3082, allocations: 9.641 kB / 0.4902 GB, free: 4.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.3082, allocations: 127.7 kB / 0.4903 GB, free: 4.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3082, allocations: 0 / 0.4903 GB, free: 4.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.3085, allocations: 104.5 kB / 0.4904 GB, free: 4.832 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.0002493/0.3087, allocations: 226.4 kB / 0.4907 GB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3089, allocations: 232.1 kB / 0.4909 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3089, allocations: 128 / 0.4909 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.309, allocations: 132.1 kB / 0.491 GB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3092, allocations: 39.22 kB / 0.491 GB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.3097, allocations: 248.8 kB / 0.4913 GB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.552e-05/0.3098, allocations: 70.59 kB / 0.4913 GB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.31, allocations: 69.17 kB / 0.4914 GB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.3102, allocations: 109.1 kB / 0.4915 GB, free: 4.211 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3102, allocations: 0 / 0.4915 GB, free: 4.211 MB / 362.7 MB Notification: Performance of Templates: time 0.007671/0.3178, allocations: 7.46 MB / 0.4988 GB, free: 14.64 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.2738149049691856]