Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.0006898/0.0006898, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001645, 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.0007193/0.0007193, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009575/0.001677, 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.9403/0.9403, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07813/1.018, 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.009151/0.009151, allocations: 2.244 MB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002407/0.01156, allocations: 1.437 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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.09e-05, allocations: 2.312 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.001834/0.001845, allocations: 1.765 MB / 250.9 MB, free: 8.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003434, allocations: 1.797 MB / 252.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.003485, allocations: 4 kB / 252.7 MB, free: 6.203 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.003675, allocations: 47.66 kB / 252.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.003912, allocations: 126.1 kB / 252.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.004054, allocations: 79.7 kB / 252.9 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.004162, allocations: 79.78 kB / 253 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.037e-05/0.004232, allocations: 12.22 kB / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004335, allocations: 71.77 kB / 253.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004436, allocations: 27.91 kB / 253.1 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.004451, allocations: 8 kB / 253.1 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.004688, allocations: 207.6 kB / 253.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.004733, allocations: 15.98 kB / 253.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.004769, allocations: 19.94 kB / 253.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.005006, allocations: 203.4 kB / 253.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.00502, allocations: 0 / 253.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00502, allocations: 0 / 253.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.005029, allocations: 0 / 253.6 MB, free: 5.324 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004575/0.005487, allocations: 397.4 kB / 254 MB, free: 4.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.005517, allocations: 12.03 kB / 254 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.005553, allocations: 8.922 kB / 254 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005686, allocations: 137.7 kB / 254.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.005694, allocations: 384 / 254.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.005704, allocations: 4.375 kB / 254.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005829, allocations: 121.1 kB / 254.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.006079, allocations: 3.938 kB / 254.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.006088, allocations: 7.984 kB / 254.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006094, allocations: 4 kB / 254.2 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.006141, allocations: 56.5 kB / 254.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.006331, allocations: 179.8 kB / 254.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.006458, allocations: 94.98 kB / 254.6 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.006496, allocations: 59.59 kB / 254.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.006508, allocations: 4 kB / 254.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.006628, allocations: 155.2 kB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.006629, allocations: 0 / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001662/0.006795, allocations: 193.5 kB / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.006862, allocations: 203.8 kB / 255.2 MB, free: 3.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.006927, allocations: 134.3 kB / 255.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006938, allocations: 25.7 kB / 255.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.00696, allocations: 88.14 kB / 255.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.006986, allocations: 31.72 kB / 255.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.007018, allocations: 25.7 kB / 255.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.007086, allocations: 322.8 kB / 255.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.007116, allocations: 44.52 kB / 255.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.007151, allocations: 67.33 kB / 255.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.007223, allocations: 115.8 kB / 256 MB, free: 2.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007225, allocations: 4 kB / 256 MB, free: 2.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001011/0.007326, allocations: 147.8 kB / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.007357, allocations: 41.69 kB / 256.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.007361, allocations: 0 / 256.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.007369, allocations: 4 kB / 256.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.007418, allocations: 11.98 kB / 256.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.00742, allocations: 0 / 256.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.007455, allocations: 11.95 kB / 256.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007462, allocations: 0 / 256.2 MB, free: 2.324 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.097e-05/0.007533, allocations: 158.3 kB / 256.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.00755, allocations: 23.92 kB / 256.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.007585, allocations: 12.44 kB / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007586, allocations: 0 / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007588, allocations: 0 / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00759, allocations: 0 / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/0.007661, allocations: 89.84 kB / 256.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.007663, allocations: 8 kB / 256.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.007686, allocations: 8 kB / 256.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.007699, allocations: 16.16 kB / 256.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.007701, allocations: 3.938 kB / 256.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007709, allocations: 7.984 kB / 256.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00771, allocations: 8 kB / 256.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007711, allocations: 0 / 256.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.007832, allocations: 194.9 kB / 256.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.007851, allocations: 7.938 kB / 256.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.007874, allocations: 4 kB / 256.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.007896, allocations: 7.984 kB / 256.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.007908, allocations: 4 kB / 256.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.007931, allocations: 28.83 kB / 256.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007931, allocations: 0 / 256.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000167/0.008098, allocations: 71.8 kB / 256.9 MB, free: 1.609 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001165/0.009263, allocations: 0.5884 MB / 257.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.009442, allocations: 182.7 kB / 257.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.00945, allocations: 8 kB / 257.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.009536, allocations: 138.2 kB / 257.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.009669, allocations: 91.31 kB / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.01007, allocations: 256.7 kB / 258.1 MB, free: 480 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.0101, allocations: 64.16 kB / 258.2 MB, free: 396 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.01013, allocations: 15.86 kB / 258.2 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.01022, allocations: 79.36 kB / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01022, allocations: 0 / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of Templates: time 0.004339/0.01456, allocations: 2.89 MB / 261.2 MB, free: 13.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.XMLTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.XMLTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.XMLTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.XMLTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.XMLTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6153377816081047]