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.0009355/0.0009355, allocations: 93.06 kB / 19.65 MB, free: 280 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.001048/0.001048, allocations: 173 kB / 23.03 MB, free: 1.547 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.9246/0.9246, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.009359/0.009359, allocations: 2.26 MB / 262.2 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.122e-06/1.122e-06, allocations: 0 / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.294e-05, allocations: 4.703 kB / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001474/0.001487, allocations: 1.544 MB / 334.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.002396, allocations: 1.395 MB / 335.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.00244, allocations: 7.938 kB / 335.7 MB, free: 13.48 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.0002547/0.002695, allocations: 27.8 kB / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.002777, allocations: 35.78 kB / 335.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.002938, allocations: 79.77 kB / 335.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.003019, allocations: 55.84 kB / 335.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.667e-05/0.003046, allocations: 8 kB / 335.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.003102, allocations: 31.91 kB / 336 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.003192, allocations: 19.92 kB / 336 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.003206, allocations: 4 kB / 336 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.766e-05/0.003303, allocations: 99.78 kB / 336.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.003348, allocations: 15.92 kB / 336.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.003379, allocations: 15.98 kB / 336.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.003528, allocations: 115.7 kB / 336.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00353, allocations: 0 / 336.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00353, allocations: 0 / 336.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003534, allocations: 4 kB / 336.2 MB, free: 12.97 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.000289/0.003823, allocations: 429.9 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.003852, allocations: 8.031 kB / 336.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.003891, allocations: 16.89 kB / 336.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.003994, allocations: 132.5 kB / 336.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.004002, allocations: 4.375 kB / 336.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.004012, allocations: 4.375 kB / 336.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.004096, allocations: 75.94 kB / 336.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004102, allocations: 192 / 336.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.00411, allocations: 384 / 336.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004116, allocations: 7.938 kB / 336.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.00415, allocations: 49.69 kB / 337 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.295e-05/0.004243, allocations: 124.6 kB / 337.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.004285, allocations: 72.69 kB / 337.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.004317, allocations: 49.42 kB / 337.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.004322, allocations: 0 / 337.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.588e-05/0.004408, allocations: 128.5 kB / 337.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.004409, allocations: 0 / 337.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000195/0.004604, allocations: 206.7 kB / 337.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.004625, allocations: 89.05 kB / 337.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.004676, allocations: 173.9 kB / 337.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.004682, allocations: 29.7 kB / 337.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.0047, allocations: 135 kB / 337.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.004725, allocations: 23.84 kB / 338 MB, free: 11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.004749, allocations: 27.38 kB / 338 MB, free: 10.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.004785, allocations: 496.1 kB / 338.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.004809, allocations: 45.69 kB / 338.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.004829, allocations: 45.64 kB / 338.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.004879, allocations: 99.08 kB / 338.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.00488, allocations: 0 / 338.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.211e-05/0.004973, allocations: 165.4 kB / 338.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.004991, allocations: 45.69 kB / 338.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004995, allocations: 0 / 338.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.005006, allocations: 0 / 338.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.005056, allocations: 7.938 kB / 338.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.00506, allocations: 0 / 338.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.005097, allocations: 7.953 kB / 338.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005103, allocations: 4 kB / 338.9 MB, free: 10.01 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 4.586e-05/0.005149, allocations: 198.3 kB / 339.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.005162, allocations: 15.94 kB / 339.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.005176, allocations: 8.438 kB / 339.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.005177, allocations: 4 kB / 339.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005181, allocations: 3.938 kB / 339.1 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005183, allocations: 7.984 kB / 339.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.365e-05/0.005227, allocations: 124.6 kB / 339.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005227, allocations: 0 / 339.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.005236, allocations: 4 kB / 339.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.005237, allocations: 0 / 339.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.005246, allocations: 11.98 kB / 339.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005246, allocations: 0 / 339.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005247, allocations: 0 / 339.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.005372, allocations: 235.9 kB / 339.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.00538, allocations: 8 kB / 339.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.005397, allocations: 3.984 kB / 339.5 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.005418, allocations: 4 kB / 339.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.005445, allocations: 11.94 kB / 339.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.005454, allocations: 0 / 339.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.271e-05/0.005477, allocations: 139.1 kB / 339.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005477, allocations: 7.938 kB / 339.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.005617, allocations: 35.94 kB / 339.7 MB, free: 9.109 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.0005535/0.00617, allocations: 287.8 kB / 340 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.006297, allocations: 174.5 kB / 340.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006298, allocations: 0 / 340.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.006335, allocations: 128.7 kB / 340.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.00646, allocations: 11.98 kB / 340.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.006688, allocations: 201.8 kB / 340.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.965e-05/0.006707, allocations: 63.2 kB / 340.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.659e-05/0.006724, allocations: 4 kB / 340.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.006742, allocations: 12.5 kB / 340.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006742, allocations: 0 / 340.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of Templates: time 0.002706/0.009448, allocations: 1.675 MB / 342.2 MB, free: 6.543 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6261718408204615]