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.001351/0.001351, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001334/0.001334, allocations: 172.4 kB / 24.84 MB, free: 8.852 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.042/1.042, allocations: 158.6 MB / 186.7 MB, free: 2.758 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.1293/0.1293, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.312e-06/1.312e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.011e-05, allocations: 8.219 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2944/0.2945, allocations: 143.3 MB / 492.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2972, allocations: 3.584 MB / 495.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.2972, allocations: 0 / 495.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2974, allocations: 33.77 kB / 495.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.2974, allocations: 27.19 kB / 495.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/0.2984, allocations: 439.7 kB / 496.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2985, allocations: 76.44 kB / 496.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.2985, allocations: 2.5 kB / 496.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2987, allocations: 45.7 kB / 496.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.2987, allocations: 20.58 kB / 496.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2987, allocations: 3.188 kB / 496.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.2994, allocations: 468.4 kB / 496.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2994, allocations: 2.781 kB / 496.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2994, allocations: 23.72 kB / 496.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.2998, allocations: 333.1 kB / 497.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2998, allocations: 3.312 kB / 497.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2998, allocations: 0 / 497.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2998, allocations: 0 / 497.3 MB, free: 8.535 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.0004502/0.3002, allocations: 437.8 kB / 497.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3003, allocations: 10.72 kB / 497.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.3003, allocations: 10.67 kB / 497.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.789e-05/0.3004, allocations: 115 kB / 497.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3004, allocations: 10.53 kB / 497.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.3004, allocations: 8.219 kB / 497.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.3005, allocations: 54.95 kB / 497.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3005, allocations: 3.953 kB / 497.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.3005, allocations: 0 / 497.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3005, allocations: 7.125 kB / 497.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.3006, allocations: 28.94 kB / 497.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.3008, allocations: 285.9 kB / 498.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.3009, allocations: 55.42 kB / 498.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.3009, allocations: 23.52 kB / 498.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.3015, allocations: 266.6 kB / 498.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3015, allocations: 39.91 kB / 498.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3015, allocations: 3.984 kB / 498.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003181/0.3047, allocations: 0.6686 MB / 499.3 MB, free: 7.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.3048, allocations: 58.38 kB / 499.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.3048, allocations: 168 kB / 499.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3048, allocations: 32.33 kB / 499.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.3049, allocations: 132.5 kB / 499.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3049, allocations: 47.03 kB / 499.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.305, allocations: 54.91 kB / 499.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.305, allocations: 0.4895 MB / 0.4885 GB, free: 6.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.3051, allocations: 87.98 kB / 0.4886 GB, free: 6.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.3052, allocations: 127 kB / 0.4887 GB, free: 6.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3054, allocations: 213.5 kB / 0.4889 GB, free: 6.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3054, allocations: 5.781 kB / 0.4889 GB, free: 6.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002636/0.3056, allocations: 247.7 kB / 0.4892 GB, free: 6.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3056, allocations: 9.203 kB / 0.4892 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3057, allocations: 0 / 0.4892 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3057, allocations: 4.062 kB / 0.4892 GB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.306, allocations: 53.86 kB / 0.4892 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.306, allocations: 8.438 kB / 0.4892 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3062, allocations: 12.48 kB / 0.4892 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3062, allocations: 15.83 kB / 0.4893 GB, free: 6.066 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.743e-05/0.3063, allocations: 158.2 kB / 0.4894 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.3063, allocations: 12.45 kB / 0.4894 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.3067, allocations: 349.2 kB / 0.4898 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3067, allocations: 6.875 kB / 0.4898 GB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3067, allocations: 3.938 kB / 0.4898 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3067, allocations: 0 / 0.4898 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.3072, allocations: 0.7021 MB / 0.4905 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3072, allocations: 0 / 0.4905 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.3075, allocations: 44.83 kB / 0.4905 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3075, allocations: 4 kB / 0.4905 GB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3075, allocations: 10.34 kB / 0.4905 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3075, allocations: 3.984 kB / 0.4905 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3075, allocations: 0 / 0.4905 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3078, allocations: 407.8 kB / 0.4909 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.3078, allocations: 24.88 kB / 0.4909 GB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3079, allocations: 9.719 kB / 0.4909 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3081, allocations: 12.31 kB / 0.4909 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3081, allocations: 13.75 kB / 0.491 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3081, allocations: 12.64 kB / 0.491 GB, free: 4.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.3081, allocations: 121.5 kB / 0.4911 GB, free: 4.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3081, allocations: 4 kB / 0.4911 GB, free: 4.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.3084, allocations: 104.9 kB / 0.4912 GB, free: 4.84 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.0002827/0.3087, allocations: 237.5 kB / 0.4914 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.309, allocations: 231.6 kB / 0.4916 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.309, allocations: 0 / 0.4916 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3091, allocations: 128.6 kB / 0.4918 GB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3093, allocations: 36.12 kB / 0.4918 GB, free: 4.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.3098, allocations: 247.2 kB / 0.492 GB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.513e-05/0.3098, allocations: 68.19 kB / 0.4921 GB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.31, allocations: 67.94 kB / 0.4922 GB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.3102, allocations: 110 kB / 0.4923 GB, free: 4.223 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3102, allocations: 0 / 0.4923 GB, free: 4.223 MB / 362.7 MB Notification: Performance of Templates: time 0.007228/0.3175, allocations: 7.564 MB / 0.4997 GB, free: 14.57 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.5328305256552994]