Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.0007168/0.0007168, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009115/0.001628, 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.001078/0.001078, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.00245, 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.9649/0.9649, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08254/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.01227/0.01227, allocations: 2.247 MB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002754/0.01502, allocations: 1.433 MB / 247.8 MB, free: 11.08 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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.357e-05, allocations: 2.312 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.0021/0.002123, allocations: 1.66 MB / 250.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003264, allocations: 1.197 MB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.003302, allocations: 8 kB / 252 MB, free: 6.906 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000107/0.003409, allocations: 23.88 kB / 252 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.003644, allocations: 111.3 kB / 252.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.867e-05/0.003672, allocations: 15.92 kB / 252.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.003726, allocations: 27.92 kB / 252.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.003792, allocations: 8 kB / 252.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.003856, allocations: 27.91 kB / 252.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.003934, allocations: 11.98 kB / 252.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.003945, allocations: 7.938 kB / 252.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.0041, allocations: 103.8 kB / 252.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.004115, allocations: 12 kB / 252.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.004133, allocations: 15.94 kB / 252.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004305, allocations: 111.7 kB / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.004316, allocations: 0 / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004317, allocations: 0 / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.004325, allocations: 3.984 kB / 252.5 MB, free: 6.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000325/0.00465, allocations: 296.1 kB / 252.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.004679, allocations: 12.03 kB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.0047, allocations: 0.9375 kB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.004797, allocations: 125.7 kB / 252.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.004803, allocations: 384 / 252.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.004809, allocations: 8.375 kB / 252.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.004883, allocations: 50.95 kB / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-06/0.004887, allocations: 192 / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004894, allocations: 4.125 kB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.004897, allocations: 0 / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.004913, allocations: 4 kB / 252.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.005078, allocations: 160.2 kB / 253.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.005179, allocations: 38.62 kB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.005197, allocations: 20.94 kB / 253.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.005208, allocations: 0 / 253.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.005224, allocations: 34.56 kB / 253.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.005224, allocations: 0 / 253.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.134e-05/0.005316, allocations: 45.56 kB / 253.2 MB, free: 5.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.00534, allocations: 51.41 kB / 253.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.005396, allocations: 118.7 kB / 253.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.005404, allocations: 25.7 kB / 253.4 MB, free: 5.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.005432, allocations: 96.08 kB / 253.5 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.005445, allocations: 7.891 kB / 253.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.005468, allocations: 21.7 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.005538, allocations: 318.8 kB / 253.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.005545, allocations: 0 / 253.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.005553, allocations: 4 kB / 253.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.005577, allocations: 12.84 kB / 253.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005579, allocations: 3.938 kB / 253.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.349e-05/0.005622, allocations: 37.69 kB / 253.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005635, allocations: 11.94 kB / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.005638, allocations: 0 / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.005643, allocations: 0 / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.124e-05/0.005684, allocations: 8 kB / 253.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.005687, allocations: 11.92 kB / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.005702, allocations: 4 kB / 254 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.005705, allocations: 0 / 254 MB, free: 4.773 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 (3): * Single equations (assignments): 3 * 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 4.082e-05/0.005746, allocations: 105.8 kB / 254.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.005761, allocations: 4 kB / 254.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.005784, allocations: 11.94 kB / 254.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005786, allocations: 4 kB / 254.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.005788, allocations: 3.984 kB / 254.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005791, allocations: 0 / 254.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.933e-05/0.00587, allocations: 73.89 kB / 254.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005871, allocations: 4 kB / 254.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.00589, allocations: 11.92 kB / 254.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.0059, allocations: 7.953 kB / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.0059, allocations: 0 / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.005904, allocations: 3.938 kB / 254.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005905, allocations: 0 / 254.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005906, allocations: 0 / 254.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.863e-05/0.005975, allocations: 135.5 kB / 254.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005983, allocations: 4.359 kB / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.634e-05/0.00601, allocations: 0 / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.006019, allocations: 7.938 kB / 254.3 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.006021, allocations: 4 kB / 254.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.006038, allocations: 16.84 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006038, allocations: 3.938 kB / 254.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.006199, allocations: 39.81 kB / 254.4 MB, free: 4.289 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 (3): * Single equations (assignments): 3 * 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.0007651/0.006964, allocations: 413.8 kB / 254.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.007045, allocations: 15.98 kB / 254.8 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.007048, allocations: 0 / 254.8 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.00709, allocations: 8 kB / 254.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.007238, allocations: 41.69 kB / 254.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.007553, allocations: 132.5 kB / 255 MB, free: 3.785 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.007581, allocations: 55.36 kB / 255 MB, free: 3.711 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.327e-05/0.007605, allocations: 8 kB / 255 MB, free: 3.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.007645, allocations: 55.36 kB / 255.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.007646, allocations: 4 kB / 255.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of Templates: time 0.002679/0.01032, allocations: 1.581 MB / 256.7 MB, free: 2.074 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.INITest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.INITest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.INITest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.INITest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.INITest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.INITest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.INITest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.INITest_ida.pipe ; mkfifo ExternData_ExternData.Examples.INITest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.INITest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4585737586021423]