Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.0007361/0.0007361, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.001924, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007426/0.0007426, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009221/0.001665, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.983/0.983, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08071/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.008418/0.008418, allocations: 2.241 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002174/0.01059, allocations: 1.429 MB / 247.8 MB, free: 11.05 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.125e-05, allocations: 5.547 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001255/0.001266, allocations: 0.8193 MB / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.001925, allocations: 0.9042 MB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.001947, allocations: 0 / 250.8 MB, free: 8.035 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 9.808e-05/0.002046, allocations: 31.78 kB / 250.9 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.00213, allocations: 23.94 kB / 250.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.949e-06/0.00214, allocations: 3.984 kB / 250.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.002194, allocations: 15.94 kB / 250.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.002229, allocations: 7.922 kB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.002282, allocations: 19.98 kB / 250.9 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.002335, allocations: 7.938 kB / 251 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.002344, allocations: 3.938 kB / 251 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.384e-05/0.002388, allocations: 16 kB / 251 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.0024, allocations: 0 / 251 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.002414, allocations: 4 kB / 251 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.002509, allocations: 35.83 kB / 251 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.002523, allocations: 0 / 251 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002523, allocations: 0 / 251 MB, free: 7.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.002532, allocations: 0 / 251 MB, free: 7.867 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002696/0.002802, allocations: 236.5 kB / 251.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.002828, allocations: 12.03 kB / 251.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.002855, allocations: 0.9375 kB / 251.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.537e-05/0.002941, allocations: 113.7 kB / 251.4 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.00295, allocations: 4.375 kB / 251.4 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.002956, allocations: 4.375 kB / 251.4 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.301e-05/0.003019, allocations: 47.91 kB / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.003025, allocations: 192 / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-06/0.003029, allocations: 384 / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.003034, allocations: 384 / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-06/0.003043, allocations: 11.92 kB / 251.4 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.003219, allocations: 379 kB / 251.8 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.003275, allocations: 165.1 kB / 252 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.003296, allocations: 80.14 kB / 252 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.003314, allocations: 75.28 kB / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.003355, allocations: 117.9 kB / 252.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003356, allocations: 0 / 252.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.269e-05/0.003409, allocations: 33.58 kB / 252.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.003454, allocations: 126.7 kB / 252.4 MB, free: 6.363 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.003522, allocations: 122.6 kB / 252.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.00353, allocations: 25.7 kB / 252.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.003556, allocations: 88.09 kB / 252.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-07/0.003556, allocations: 0 / 252.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.003571, allocations: 13.72 kB / 252.6 MB, free: 6.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.003645, allocations: 314.8 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.003648, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.003651, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.003668, allocations: 75.28 kB / 253 MB, free: 5.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.003686, allocations: 83.27 kB / 253.1 MB, free: 5.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.791e-05/0.003724, allocations: 29.64 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.003751, allocations: 83.28 kB / 253.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.003769, allocations: 75.28 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/0.003809, allocations: 162.4 kB / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.00383, allocations: 79.28 kB / 253.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.07e-05/0.003861, allocations: 150.6 kB / 253.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.003906, allocations: 83.2 kB / 253.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.003924, allocations: 83.28 kB / 253.8 MB, free: 4.875 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 7.009e-05/0.003994, allocations: 256.4 kB / 254.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.004033, allocations: 108.9 kB / 254.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.004072, allocations: 104.7 kB / 254.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/0.004117, allocations: 196.1 kB / 254.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/0.004158, allocations: 180.3 kB / 254.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/0.004196, allocations: 180.5 kB / 254.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.00433, allocations: 333.4 kB / 255.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.004352, allocations: 105 kB / 255.3 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.004376, allocations: 112.9 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.004405, allocations: 101 kB / 255.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/0.004446, allocations: 180.3 kB / 255.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.004488, allocations: 184.2 kB / 255.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.052e-05/0.004529, allocations: 176.3 kB / 256 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.344e-05/0.004572, allocations: 192.1 kB / 256.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.00466, allocations: 299.8 kB / 256.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.004708, allocations: 184.2 kB / 256.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.004752, allocations: 105 kB / 256.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.004796, allocations: 180.2 kB / 256.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.004821, allocations: 112.9 kB / 257 MB, free: 1.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.004841, allocations: 20.83 kB / 257.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004841, allocations: 0 / 257.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.004983, allocations: 7.938 kB / 257.1 MB, free: 1.449 MB / 250.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 (0): * Single equations (assignments): 0 * 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.0004064/0.005389, allocations: 273.3 kB / 257.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.00546, allocations: 0 / 257.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.005463, allocations: 4 kB / 257.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.005493, allocations: 7.938 kB / 257.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.005752, allocations: 0.4883 MB / 257.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.005912, allocations: 172.3 kB / 258 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.005938, allocations: 55.34 kB / 258.1 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.005952, allocations: 4 kB / 258.1 MB, free: 456 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.005982, allocations: 47.38 kB / 258.1 MB, free: 408 kB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005982, allocations: 0 / 258.1 MB, free: 408 kB / 250.7 MB Notification: Performance of Templates: time 0.001852/0.007835, allocations: 0.6215 MB / 258.7 MB, free: 15.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.TIRTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.TIRTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.TIRTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.TIRTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.TIRTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.TIRTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.TIRTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.TIRTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.TIRTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.400749685242772]