Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001469/0.001469, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001699/0.001699, allocations: 165.9 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.276/0.276, allocations: 32.81 MB / 294.6 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.833e-05, allocations: 6.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3151/0.3151, allocations: 147.1 MB / 0.5109 GB, free: 18.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3163, allocations: 1.186 MB / 0.512 GB, free: 17.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.3163, allocations: 3 kB / 0.512 GB, free: 17.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3165, allocations: 35.86 kB / 0.5121 GB, free: 17.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.3166, allocations: 30.64 kB / 0.5121 GB, free: 17.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.318, allocations: 434.8 kB / 0.5125 GB, free: 17.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3182, allocations: 74.73 kB / 0.5126 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3182, allocations: 7.609 kB / 0.5126 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3183, allocations: 46.7 kB / 0.5126 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.3184, allocations: 22.02 kB / 0.5127 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3184, allocations: 0 / 0.5127 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000948/0.3193, allocations: 480.3 kB / 0.5131 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.3194, allocations: 7.125 kB / 0.5131 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.3194, allocations: 19.83 kB / 0.5131 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.3199, allocations: 339.6 kB / 0.5135 GB, free: 17.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3199, allocations: 0 / 0.5135 GB, free: 17.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3199, allocations: 0.5156 kB / 0.5135 GB, free: 17.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3199, allocations: 4 kB / 0.5135 GB, free: 17.17 MB / 410.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.0004986/0.3204, allocations: 437 kB / 0.5139 GB, free: 16.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3205, allocations: 8.844 kB / 0.5139 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.3205, allocations: 15.34 kB / 0.5139 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.3206, allocations: 112.5 kB / 0.514 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3206, allocations: 2.812 kB / 0.514 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3206, allocations: 7.562 kB / 0.514 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3207, allocations: 66.28 kB / 0.5141 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3208, allocations: 0 / 0.5141 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3208, allocations: 3.281 kB / 0.5141 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3208, allocations: 4 kB / 0.5141 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.3208, allocations: 30.39 kB / 0.5141 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.3212, allocations: 300.2 kB / 0.5144 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.3212, allocations: 62.66 kB / 0.5145 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.3213, allocations: 22.77 kB / 0.5145 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000731/0.322, allocations: 251.9 kB / 0.5147 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.322, allocations: 37.52 kB / 0.5148 GB, free: 16.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.322, allocations: 0 / 0.5148 GB, free: 16.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003531/0.3256, allocations: 0.7204 MB / 0.5155 GB, free: 15.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3256, allocations: 54.19 kB / 0.5155 GB, free: 15.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.3256, allocations: 165.5 kB / 0.5157 GB, free: 15.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3257, allocations: 30.36 kB / 0.5157 GB, free: 15.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3257, allocations: 138.9 kB / 0.5158 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3257, allocations: 52.55 kB / 0.5159 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.3258, allocations: 50.77 kB / 0.5159 GB, free: 15.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.3259, allocations: 498.6 kB / 0.5164 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.326, allocations: 106.8 kB / 0.5165 GB, free: 15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3261, allocations: 133.6 kB / 0.5166 GB, free: 14.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.3264, allocations: 266.1 kB / 0.5169 GB, free: 14.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3264, allocations: 0 / 0.5169 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003629/0.3267, allocations: 297.6 kB / 0.5172 GB, free: 14.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3267, allocations: 8.047 kB / 0.5172 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3267, allocations: 3.938 kB / 0.5172 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3268, allocations: 0 / 0.5172 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.3271, allocations: 59.31 kB / 0.5172 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3271, allocations: 4.062 kB / 0.5173 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3273, allocations: 11.41 kB / 0.5173 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.3274, allocations: 12.69 kB / 0.5173 GB, free: 14.77 MB / 410.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.234e-05/0.3274, allocations: 167.6 kB / 0.5174 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3275, allocations: 8.625 kB / 0.5174 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.328, allocations: 381.3 kB / 0.5178 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.328, allocations: 2.375 kB / 0.5178 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.328, allocations: 1.5 kB / 0.5178 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.328, allocations: 3 kB / 0.5178 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.3286, allocations: 0.758 MB / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3286, allocations: 0 / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.3289, allocations: 49.97 kB / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3289, allocations: 0 / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3289, allocations: 9.469 kB / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3289, allocations: 0 / 0.5186 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3289, allocations: 4 kB / 0.5186 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.3293, allocations: 447.6 kB / 0.519 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3293, allocations: 30.42 kB / 0.5191 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.3293, allocations: 0 / 0.5191 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3296, allocations: 12.52 kB / 0.5191 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3296, allocations: 16.66 kB / 0.5191 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3296, allocations: 16 kB / 0.5191 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.3297, allocations: 122.6 kB / 0.5192 GB, free: 13.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3297, allocations: 0 / 0.5192 GB, free: 13.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.33, allocations: 105.2 kB / 0.5193 GB, free: 13.5 MB / 410.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.0003304/0.3304, allocations: 229.9 kB / 0.5195 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.3307, allocations: 270.9 kB / 0.5198 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3307, allocations: 4 kB / 0.5198 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3308, allocations: 150.1 kB / 0.52 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3311, allocations: 43 kB / 0.52 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.3318, allocations: 252.9 kB / 0.5202 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.3318, allocations: 63.58 kB / 0.5203 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.332, allocations: 65.42 kB / 0.5204 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3322, allocations: 32.16 kB / 0.5204 GB, free: 13 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3322, allocations: 0 / 0.5204 GB, free: 13 MB / 410.7 MB Notification: Performance of Templates: time 0.00777/0.34, allocations: 6.85 MB / 0.5271 GB, free: 12.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.5745291961356997]