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.0008705/0.0008705, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0008914/0.0008914, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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 0.9329/0.9329, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.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.009732/0.009732, allocations: 2.257 MB / 262.5 MB, free: 10.64 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.603e-06/1.603e-06, allocations: 0 / 333.2 MB, free: 1.266 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.62e-05, allocations: 6.312 kB / 333.2 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002793/0.002809, allocations: 1.554 MB / 334.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.004552, allocations: 1.402 MB / 336.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.004613, allocations: 3.938 kB / 336.2 MB, free: 14.27 MB / 314.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.0003135/0.004927, allocations: 35.78 kB / 336.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.005038, allocations: 35.78 kB / 336.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.005282, allocations: 75.78 kB / 336.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.005391, allocations: 59.78 kB / 336.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.005427, allocations: 3.984 kB / 336.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.005519, allocations: 31.92 kB / 336.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.005627, allocations: 19.98 kB / 336.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.005643, allocations: 0 / 336.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.005812, allocations: 103.8 kB / 336.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.005865, allocations: 15.94 kB / 336.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.005902, allocations: 15.92 kB / 336.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.006128, allocations: 119.7 kB / 336.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006132, allocations: 4 kB / 336.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006133, allocations: 0 / 336.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006137, allocations: 0 / 336.7 MB, free: 13.76 MB / 314.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.0004857/0.006623, allocations: 426 kB / 337.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.00667, allocations: 12.03 kB / 337.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.006719, allocations: 8.891 kB / 337.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.006898, allocations: 128.5 kB / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.00691, allocations: 4.375 kB / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.00692, allocations: 4.359 kB / 337.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.00704, allocations: 71.95 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.007048, allocations: 192 / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.007059, allocations: 4.375 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.007065, allocations: 3.938 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.007114, allocations: 45.67 kB / 337.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.007267, allocations: 109.2 kB / 337.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.007328, allocations: 72.69 kB / 337.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.007373, allocations: 49.39 kB / 337.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.007379, allocations: 48 / 337.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.007516, allocations: 128.4 kB / 337.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.007517, allocations: 0 / 337.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003136/0.007831, allocations: 202.7 kB / 337.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.007871, allocations: 81.09 kB / 338 MB, free: 12.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.00797, allocations: 177.8 kB / 338.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.007986, allocations: 29.7 kB / 338.2 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.008033, allocations: 130.9 kB / 338.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.008072, allocations: 31.78 kB / 338.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.008113, allocations: 27.36 kB / 338.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.008321, allocations: 496.1 kB / 338.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.008386, allocations: 41.7 kB / 338.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.008423, allocations: 41.69 kB / 339 MB, free: 11.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.008491, allocations: 99.06 kB / 339.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008493, allocations: 3.938 kB / 339.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001303/0.008623, allocations: 153 kB / 339.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.008651, allocations: 33.69 kB / 339.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008655, allocations: 4 kB / 339.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008667, allocations: 4 kB / 339.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.008717, allocations: 8 kB / 339.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.00872, allocations: 3.938 kB / 339.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.008759, allocations: 7.984 kB / 339.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.008766, allocations: 4 kB / 339.3 MB, free: 10.86 MB / 314.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 9.058e-05/0.008857, allocations: 198.2 kB / 339.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.008873, allocations: 11.95 kB / 339.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.008894, allocations: 8.438 kB / 339.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.008895, allocations: 0 / 339.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008897, allocations: 0 / 339.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.008902, allocations: 7.938 kB / 339.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.585e-05/0.008988, allocations: 117.2 kB / 339.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008989, allocations: 0 / 339.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.009004, allocations: 7.984 kB / 339.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009006, allocations: 0 / 339.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.009013, allocations: 0 / 339.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.009013, allocations: 0 / 339.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009015, allocations: 4 kB / 339.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.009189, allocations: 223.6 kB / 339.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.0092, allocations: 7.938 kB / 339.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.009219, allocations: 4 kB / 339.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.009279, allocations: 8 kB / 339.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.00931, allocations: 0 / 339.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.00933, allocations: 7.984 kB / 339.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.009383, allocations: 135.6 kB / 340 MB, free: 10.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009383, allocations: 0 / 340 MB, free: 10.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.00954, allocations: 43.88 kB / 340.1 MB, free: 10.01 MB / 314.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.0006535/0.01019, allocations: 288.1 kB / 340.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.01034, allocations: 174.4 kB / 340.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01034, allocations: 0 / 340.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.01039, allocations: 124.8 kB / 340.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.01052, allocations: 15.08 kB / 340.6 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.01077, allocations: 192.3 kB / 340.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.0108, allocations: 63.34 kB / 340.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.01082, allocations: 0 / 340.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.01089, allocations: 94.19 kB / 341 MB, free: 9.027 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01089, allocations: 0 / 341 MB, free: 9.027 MB / 314.7 MB Notification: Performance of Templates: time 0.002991/0.01388, allocations: 1.693 MB / 342.7 MB, free: 7.344 MB / 314.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 & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6240199808962643]