Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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.0009841/0.0009841, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002333, 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.001044/0.001044, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002387, 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.947/0.947, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08061/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.009106/0.009106, allocations: 2.255 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002074/0.01118, allocations: 1.425 MB / 247.8 MB, free: 11.09 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.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.084e-05, allocations: 2.312 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001762/0.001773, allocations: 1.596 MB / 250.7 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002979, allocations: 1.435 MB / 252.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.003019, allocations: 0 / 252.1 MB, free: 6.738 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000187/0.003206, allocations: 51.7 kB / 252.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.003269, allocations: 27.86 kB / 252.2 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003428, allocations: 75.72 kB / 252.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00353, allocations: 51.86 kB / 252.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.003558, allocations: 0 / 252.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.003638, allocations: 47.84 kB / 252.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.003736, allocations: 19.91 kB / 252.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.003751, allocations: 4 kB / 252.4 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.003908, allocations: 99.91 kB / 252.5 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.003957, allocations: 15.94 kB / 252.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.003988, allocations: 8 kB / 252.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004151, allocations: 111.6 kB / 252.6 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.004164, allocations: 4 kB / 252.7 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004164, allocations: 4 kB / 252.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.004173, allocations: 0 / 252.7 MB, free: 6.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000403/0.004576, allocations: 313.9 kB / 253 MB, free: 5.891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004606, allocations: 8.031 kB / 253 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004643, allocations: 12.92 kB / 253 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004762, allocations: 117.7 kB / 253.1 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.004771, allocations: 4.359 kB / 253.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.00478, allocations: 4.375 kB / 253.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.004863, allocations: 82.7 kB / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.004869, allocations: 192 / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004875, allocations: 4.375 kB / 253.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.00488, allocations: 7.938 kB / 253.2 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.004913, allocations: 45.69 kB / 253.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.376e-05/0.004987, allocations: 59.88 kB / 253.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.005029, allocations: 56.27 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.005063, allocations: 50.56 kB / 253.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.005067, allocations: 0 / 253.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.005174, allocations: 145.7 kB / 253.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.005174, allocations: 0 / 253.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001456/0.00532, allocations: 170.8 kB / 253.7 MB, free: 5.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.00538, allocations: 174.2 kB / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.005447, allocations: 122.6 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.005457, allocations: 25.7 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.005479, allocations: 88.12 kB / 254.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.005503, allocations: 11.84 kB / 254.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.005535, allocations: 29.69 kB / 254.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.005607, allocations: 326.8 kB / 254.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.005633, allocations: 40.53 kB / 254.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.005657, allocations: 45.62 kB / 254.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.00572, allocations: 107 kB / 254.7 MB, free: 3.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005721, allocations: 4 kB / 254.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.561e-05/0.005807, allocations: 129.5 kB / 254.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.005839, allocations: 41.69 kB / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005842, allocations: 0 / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.005849, allocations: 0 / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.005893, allocations: 4 kB / 254.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.005895, allocations: 0 / 254.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.005937, allocations: 11.89 kB / 254.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.005943, allocations: 4 kB / 254.9 MB, free: 3.734 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: 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 (4): * Single equations (assignments): 3 * 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 6.703e-05/0.00601, allocations: 150.4 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.006023, allocations: 15.98 kB / 255 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.00605, allocations: 4.438 kB / 255 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006052, allocations: 4 kB / 255 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006053, allocations: 0 / 255 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.006057, allocations: 3.938 kB / 255 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.002e-05/0.006117, allocations: 73.88 kB / 255.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006118, allocations: 0 / 255.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.006128, allocations: 7.938 kB / 255.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.006137, allocations: 7.953 kB / 255.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006138, allocations: 0 / 255.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.006145, allocations: 8 kB / 255.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006148, allocations: 8 kB / 255.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006149, allocations: 3.984 kB / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.006258, allocations: 174.1 kB / 255.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.006273, allocations: 4 kB / 255.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.006293, allocations: 4 kB / 255.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.006316, allocations: 7.984 kB / 255.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.006327, allocations: 4 kB / 255.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.006344, allocations: 16.8 kB / 255.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006344, allocations: 0 / 255.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.006483, allocations: 43.86 kB / 255.4 MB, free: 3.133 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: 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 (3): * Single equations (assignments): 2 * 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.0007844/0.007267, allocations: 384.3 kB / 255.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.007421, allocations: 170.7 kB / 255.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.007428, allocations: 4 kB / 255.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.007494, allocations: 125.9 kB / 256.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.196e-05/0.007586, allocations: 41.69 kB / 256.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.007936, allocations: 207.7 kB / 256.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.007963, allocations: 59.34 kB / 256.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.007981, allocations: 4 kB / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.008049, allocations: 71.36 kB / 256.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of SimCode: time 4.2e-07/0.00805, allocations: 4 kB / 256.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of Templates: time 0.002797/0.01085, allocations: 1.69 MB / 258.1 MB, free: 436 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.MATTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.MATTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.MATTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.MATTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.MATTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.MATTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.MATTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.MATTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.MATTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.MATTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.MATTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.MATTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4775067809969187]