Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00186/0.00186, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002637/0.002637, allocations: 169.3 kB / 24.26 MB, free: 144 kB / 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3743/0.3743, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.596e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3154/0.3155, allocations: 133.3 MB / 0.4986 GB, free: 23.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3168, allocations: 1.065 MB / 0.4996 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.3168, allocations: 4.906 kB / 0.4996 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.317, allocations: 33.08 kB / 0.4997 GB, free: 22.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.317, allocations: 27.3 kB / 0.4997 GB, free: 22.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3183, allocations: 442.1 kB / 0.5001 GB, free: 22.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.3184, allocations: 70.69 kB / 0.5002 GB, free: 22.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.02e-05/0.3184, allocations: 3.766 kB / 0.5002 GB, free: 22.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3185, allocations: 51.59 kB / 0.5002 GB, free: 22.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.3186, allocations: 15.58 kB / 0.5003 GB, free: 22.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3186, allocations: 2.125 kB / 0.5003 GB, free: 22.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3196, allocations: 477.1 kB / 0.5007 GB, free: 22.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.3196, allocations: 7.109 kB / 0.5007 GB, free: 22.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.3197, allocations: 23.36 kB / 0.5007 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.3202, allocations: 338.6 kB / 0.5011 GB, free: 22.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3202, allocations: 0.7969 kB / 0.5011 GB, free: 22.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3202, allocations: 1.125 kB / 0.5011 GB, free: 22.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3202, allocations: 0 / 0.5011 GB, free: 22.3 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.0005291/0.3207, allocations: 333.6 kB / 0.5014 GB, free: 22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3208, allocations: 8.625 kB / 0.5014 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.3208, allocations: 16.36 kB / 0.5014 GB, free: 21.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.3209, allocations: 109.7 kB / 0.5015 GB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3209, allocations: 5.625 kB / 0.5015 GB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.321, allocations: 4.484 kB / 0.5015 GB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3211, allocations: 76.81 kB / 0.5016 GB, free: 21.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3211, allocations: 1.5 kB / 0.5016 GB, free: 21.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3211, allocations: 3.938 kB / 0.5016 GB, free: 21.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3211, allocations: 1.438 kB / 0.5016 GB, free: 21.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3212, allocations: 49.88 kB / 0.5017 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3216, allocations: 254.2 kB / 0.5019 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3217, allocations: 66.88 kB / 0.502 GB, free: 21.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.3218, allocations: 20.17 kB / 0.502 GB, free: 21.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.3232, allocations: 254.3 kB / 0.5022 GB, free: 21.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3232, allocations: 39.98 kB / 0.5023 GB, free: 21.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3232, allocations: 0 / 0.5023 GB, free: 21.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.006747/0.33, allocations: 0.6654 MB / 0.5029 GB, free: 21.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.33, allocations: 54.52 kB / 0.503 GB, free: 21.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.3301, allocations: 107.1 kB / 0.5031 GB, free: 21.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3301, allocations: 30.27 kB / 0.5031 GB, free: 21.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.3301, allocations: 91.11 kB / 0.5032 GB, free: 20.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.3302, allocations: 53.53 kB / 0.5032 GB, free: 20.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3303, allocations: 46.97 kB / 0.5033 GB, free: 20.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.3303, allocations: 318.1 kB / 0.5036 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.3305, allocations: 84.66 kB / 0.5037 GB, free: 20.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3308, allocations: 110.2 kB / 0.5038 GB, free: 20.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.3312, allocations: 193.4 kB / 0.5039 GB, free: 20.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3312, allocations: 0 / 0.5039 GB, free: 20.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005812/0.3318, allocations: 255.3 kB / 0.5042 GB, free: 20.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3318, allocations: 9.594 kB / 0.5042 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3318, allocations: 4.969 kB / 0.5042 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3318, allocations: 3.328 kB / 0.5042 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.3325, allocations: 59.78 kB / 0.5043 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3325, allocations: 2.828 kB / 0.5043 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.333, allocations: 13.88 kB / 0.5043 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.3331, allocations: 11.52 kB / 0.5043 GB, free: 20.27 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 9.215e-05/0.3332, allocations: 122.8 kB / 0.5044 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.3332, allocations: 6.5 kB / 0.5044 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008059/0.334, allocations: 349.5 kB / 0.5047 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.334, allocations: 2.188 kB / 0.5047 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.334, allocations: 0.6562 kB / 0.5047 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3341, allocations: 2.266 kB / 0.5048 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.335, allocations: 0.6763 MB / 0.5054 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.335, allocations: 0 / 0.5054 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.3356, allocations: 50.72 kB / 0.5055 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3357, allocations: 1.188 kB / 0.5055 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3357, allocations: 5.625 kB / 0.5055 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3357, allocations: 4.141 kB / 0.5055 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3357, allocations: 0 / 0.5055 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.3363, allocations: 358.4 kB / 0.5058 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.3363, allocations: 26.7 kB / 0.5058 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.3364, allocations: 9.562 kB / 0.5058 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.3369, allocations: 15.36 kB / 0.5059 GB, free: 19.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.337, allocations: 14.61 kB / 0.5059 GB, free: 19.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.337, allocations: 8.578 kB / 0.5059 GB, free: 19.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.337, allocations: 86.27 kB / 0.506 GB, free: 19.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.337, allocations: 0 / 0.506 GB, free: 19.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000498/0.3375, allocations: 103 kB / 0.5061 GB, free: 19.09 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.0004112/0.338, allocations: 237.3 kB / 0.5063 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.3384, allocations: 205.6 kB / 0.5065 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3384, allocations: 0 / 0.5065 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3387, allocations: 108.2 kB / 0.5066 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3391, allocations: 44.2 kB / 0.5066 GB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3396, allocations: 240 kB / 0.5069 GB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.3397, allocations: 82.78 kB / 0.5069 GB, free: 18.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.34, allocations: 69.23 kB / 0.507 GB, free: 18.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.3403, allocations: 39.19 kB / 0.507 GB, free: 18.56 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3403, allocations: 0 / 0.507 GB, free: 18.56 MB / 410.7 MB Notification: Performance of Templates: time 0.009787/0.35, allocations: 6.757 MB / 0.5136 GB, free: 17.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.535042055067606]