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.001625/0.001625, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009896/0.0009896, allocations: 173 kB / 24.25 MB, free: 312 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.9662/0.9662, allocations: 158.6 MB / 186 MB, free: 2.922 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.1304/0.1304, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.533e-06/1.533e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.712e-05, allocations: 5.406 kB / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2859/0.2859, allocations: 145.8 MB / 493.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.2893, allocations: 3.63 MB / 497.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.2894, allocations: 2.844 kB / 497.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.2896, allocations: 35.44 kB / 497.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.2896, allocations: 21.92 kB / 497.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.2912, allocations: 449.7 kB / 497.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2913, allocations: 64.34 kB / 497.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.2913, allocations: 6.766 kB / 497.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2914, allocations: 45.48 kB / 497.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.2914, allocations: 23.95 kB / 497.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2915, allocations: 3.031 kB / 497.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008986/0.2924, allocations: 460.4 kB / 498.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.2924, allocations: 16.2 kB / 498.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2924, allocations: 14.81 kB / 498.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.293, allocations: 335.5 kB / 498.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.293, allocations: 0 / 498.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.293, allocations: 0 / 498.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.293, allocations: 4 kB / 498.6 MB, free: 7.801 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.0004884/0.2935, allocations: 442.6 kB / 499 MB, free: 7.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2935, allocations: 8.344 kB / 499 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.2936, allocations: 11.05 kB / 499 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.2936, allocations: 107.2 kB / 499.1 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2936, allocations: 10.44 kB / 499.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.2937, allocations: 12.56 kB / 499.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2938, allocations: 55.45 kB / 499.2 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2938, allocations: 11.12 kB / 499.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2938, allocations: 0 / 499.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2938, allocations: 0 / 499.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.2939, allocations: 31.64 kB / 499.2 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.2942, allocations: 303.8 kB / 499.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.2943, allocations: 63.67 kB / 499.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.2944, allocations: 23.11 kB / 499.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007376/0.2951, allocations: 260.2 kB / 499.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2951, allocations: 37.52 kB / 499.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2951, allocations: 0 / 499.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003425/0.2985, allocations: 0.7244 MB / 0.4889 GB, free: 6.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2986, allocations: 57.91 kB / 0.489 GB, free: 6.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.2987, allocations: 163.1 kB / 0.4891 GB, free: 6.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2987, allocations: 29.27 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.2987, allocations: 137.7 kB / 0.4893 GB, free: 6.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.2988, allocations: 49.5 kB / 0.4893 GB, free: 6.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.2989, allocations: 55.67 kB / 0.4894 GB, free: 6.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.2989, allocations: 498.9 kB / 0.4898 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2991, allocations: 110.2 kB / 0.49 GB, free: 5.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2992, allocations: 142 kB / 0.4901 GB, free: 5.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.2995, allocations: 248.4 kB / 0.4903 GB, free: 5.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2995, allocations: 2.594 kB / 0.4903 GB, free: 5.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003535/0.2998, allocations: 294.2 kB / 0.4906 GB, free: 5.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2999, allocations: 5.219 kB / 0.4906 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2999, allocations: 4.047 kB / 0.4906 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2999, allocations: 11.06 kB / 0.4906 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.3002, allocations: 45.77 kB / 0.4907 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3002, allocations: 3.312 kB / 0.4907 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3004, allocations: 19.08 kB / 0.4907 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3005, allocations: 12.67 kB / 0.4907 GB, free: 5.316 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.213e-05/0.3005, allocations: 160.1 kB / 0.4909 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3006, allocations: 15.33 kB / 0.4909 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.3011, allocations: 385.5 kB / 0.4912 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3011, allocations: 3.938 kB / 0.4912 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3011, allocations: 2.781 kB / 0.4912 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3011, allocations: 0 / 0.4912 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.3017, allocations: 0.7652 MB / 0.492 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3017, allocations: 6.5 kB / 0.492 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.302, allocations: 46.41 kB / 0.492 GB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.302, allocations: 4 kB / 0.492 GB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.302, allocations: 10.14 kB / 0.4921 GB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.302, allocations: 0 / 0.4921 GB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.302, allocations: 3.031 kB / 0.4921 GB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.3023, allocations: 440.9 kB / 0.4925 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.3024, allocations: 29.44 kB / 0.4925 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.3024, allocations: 7.219 kB / 0.4925 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3027, allocations: 13.2 kB / 0.4925 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3027, allocations: 13.47 kB / 0.4925 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3027, allocations: 10.34 kB / 0.4926 GB, free: 4.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.3028, allocations: 129.7 kB / 0.4927 GB, free: 4.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3028, allocations: 0 / 0.4927 GB, free: 4.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.3031, allocations: 105.6 kB / 0.4928 GB, free: 4.012 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.0003335/0.3034, allocations: 224 kB / 0.493 GB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.3038, allocations: 265.4 kB / 0.4932 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3038, allocations: 2.562 kB / 0.4932 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3039, allocations: 148.4 kB / 0.4934 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3042, allocations: 44.25 kB / 0.4934 GB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.3048, allocations: 262.2 kB / 0.4937 GB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.3049, allocations: 64.89 kB / 0.4937 GB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3051, allocations: 69.89 kB / 0.4938 GB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3052, allocations: 31.83 kB / 0.4938 GB, free: 3.402 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3052, allocations: 2.5 kB / 0.4938 GB, free: 3.402 MB / 362.7 MB Notification: Performance of Templates: time 0.007699/0.3129, allocations: 6.86 MB / 0.5005 GB, free: 14.75 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.4987520000431687]