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.00157/0.00157, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001898/0.001898, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.01576/0.01576, allocations: 2.268 MB / 261.8 MB, free: 10.79 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.803e-06/1.803e-06, allocations: 0 / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.245e-05, allocations: 2.312 kB / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002617/0.00265, allocations: 1.516 MB / 333.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.00447, allocations: 1.352 MB / 334.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.004544, allocations: 0 / 334.9 MB, free: 13.89 MB / 266.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.00047/0.005014, allocations: 43.72 kB / 335 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.00516, allocations: 27.84 kB / 335 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.005437, allocations: 79.67 kB / 335.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.005549, allocations: 63.83 kB / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.005586, allocations: 0 / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.005676, allocations: 39.91 kB / 335.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.005849, allocations: 11.92 kB / 335.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.005867, allocations: 4 kB / 335.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.007821, allocations: 269.8 kB / 335.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.00791, allocations: 15.98 kB / 335.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.007983, allocations: 15.94 kB / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.008301, allocations: 139.6 kB / 335.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.008307, allocations: 0 / 335.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.008309, allocations: 4 kB / 335.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.008315, allocations: 0 / 335.6 MB, free: 13.3 MB / 266.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.0005405/0.008855, allocations: 323.7 kB / 335.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.008901, allocations: 8.031 kB / 336 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.008973, allocations: 12.89 kB / 336 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.009161, allocations: 121.7 kB / 336.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.009175, allocations: 384 / 336.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.009188, allocations: 8.375 kB / 336.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.009361, allocations: 95.86 kB / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.009372, allocations: 192 / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.009387, allocations: 384 / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.009394, allocations: 11.88 kB / 336.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.009489, allocations: 65.67 kB / 336.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.009666, allocations: 109.3 kB / 336.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.009762, allocations: 72.27 kB / 336.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.00983, allocations: 62.59 kB / 336.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.009846, allocations: 0 / 336.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.01002, allocations: 142.7 kB / 336.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.01002, allocations: 4 kB / 336.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004319/0.01045, allocations: 262.8 kB / 336.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.0105, allocations: 85.05 kB / 337 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.0106, allocations: 117.8 kB / 337.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01062, allocations: 29.64 kB / 337.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.01065, allocations: 88.12 kB / 337.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01069, allocations: 23.8 kB / 337.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.01073, allocations: 21.72 kB / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.0108, allocations: 318.8 kB / 337.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.01086, allocations: 57.69 kB / 337.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.0109, allocations: 65.69 kB / 337.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/0.011, allocations: 120.2 kB / 337.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.011, allocations: 0 / 337.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001955/0.0112, allocations: 201.4 kB / 338 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.01124, allocations: 41.69 kB / 338 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01125, allocations: 0 / 338 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.01128, allocations: 0 / 338 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.01137, allocations: 7.938 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01138, allocations: 4 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.01146, allocations: 3.953 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.01148, allocations: 8 kB / 338.1 MB, free: 10.57 MB / 266.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.784e-05/0.01157, allocations: 157.9 kB / 338.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.0116, allocations: 19.83 kB / 338.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.01163, allocations: 12.42 kB / 338.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01163, allocations: 4 kB / 338.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01163, allocations: 3.938 kB / 338.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01164, allocations: 0 / 338.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.01173, allocations: 117.3 kB / 338.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01173, allocations: 3.984 kB / 338.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.01175, allocations: 4 kB / 338.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01176, allocations: 0 / 338.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.01177, allocations: 8 kB / 338.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01177, allocations: 0 / 338.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01177, allocations: 0 / 338.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.01203, allocations: 248.4 kB / 338.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01205, allocations: 11.94 kB / 338.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01207, allocations: 0 / 338.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.01212, allocations: 4 kB / 338.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.01218, allocations: 7.938 kB / 338.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.0122, allocations: 7.922 kB / 338.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.01224, allocations: 99.22 kB / 338.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 0 / 338.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.01252, allocations: 43.92 kB / 338.8 MB, free: 9.758 MB / 266.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.001143/0.01367, allocations: 274.8 kB / 339.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.01394, allocations: 198.8 kB / 339.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01394, allocations: 0 / 339.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.01402, allocations: 133 kB / 339.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01431, allocations: 11.98 kB / 339.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.01475, allocations: 235.6 kB / 339.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01481, allocations: 79.33 kB / 339.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.01483, allocations: 4 kB / 339.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.01486, allocations: 12.69 kB / 339.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01486, allocations: 0 / 339.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of Templates: time 0.005473/0.02034, allocations: 1.542 MB / 341.3 MB, free: 7.258 MB / 266.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=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.895510960952379]