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.001282/0.001282, allocations: 93.06 kB / 19.65 MB, free: 272 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.0016/0.0016, allocations: 165 kB / 23.02 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.956/0.956, allocations: 177.1 MB / 203.4 MB, free: 5.371 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.01053/0.01053, allocations: 2.261 MB / 262.2 MB, free: 10.62 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.593e-06/1.593e-06, allocations: 0 / 332.8 MB, free: 1.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.449e-05, allocations: 2.312 kB / 332.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002141/0.002166, allocations: 1.555 MB / 334.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003552, allocations: 1.406 MB / 335.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003607, allocations: 0 / 335.7 MB, free: 14.5 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.0003516/0.003958, allocations: 35.78 kB / 335.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.004076, allocations: 39.72 kB / 335.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.004322, allocations: 75.78 kB / 335.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.004431, allocations: 59.84 kB / 335.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.004461, allocations: 0 / 335.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.004537, allocations: 35.91 kB / 336 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004637, allocations: 19.92 kB / 336 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.004653, allocations: 4 kB / 336 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.004803, allocations: 95.84 kB / 336.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.004862, allocations: 11.92 kB / 336.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.004911, allocations: 19.98 kB / 336.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.005121, allocations: 123.6 kB / 336.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005124, allocations: 4 kB / 336.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005126, allocations: 0 / 336.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005131, allocations: 0 / 336.2 MB, free: 13.98 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.0004228/0.005554, allocations: 418 kB / 336.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.00559, allocations: 12.03 kB / 336.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.005636, allocations: 12.88 kB / 336.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005787, allocations: 132.5 kB / 336.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.005796, allocations: 384 / 336.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.005811, allocations: 8.375 kB / 336.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.005937, allocations: 75.89 kB / 336.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005945, allocations: 192 / 336.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005957, allocations: 4.375 kB / 336.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.005967, allocations: 11.92 kB / 336.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.006011, allocations: 41.7 kB / 336.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.006154, allocations: 128.5 kB / 337.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.006218, allocations: 64.77 kB / 337.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.00627, allocations: 53.42 kB / 337.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.006278, allocations: 3.938 kB / 337.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.006403, allocations: 132.5 kB / 337.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.006404, allocations: 0 / 337.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.00667, allocations: 206.9 kB / 337.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.006711, allocations: 85.05 kB / 337.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006822, allocations: 177.9 kB / 337.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.006839, allocations: 33.69 kB / 337.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.006888, allocations: 130.9 kB / 337.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.006924, allocations: 15.86 kB / 338 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.006968, allocations: 31.36 kB / 338 MB, free: 11.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.007105, allocations: 0.4884 MB / 338.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.00715, allocations: 45.69 kB / 338.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.00718, allocations: 41.69 kB / 338.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.00726, allocations: 99.56 kB / 338.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007262, allocations: 0 / 338.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001621/0.007424, allocations: 168.9 kB / 338.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.007462, allocations: 41.69 kB / 338.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.007468, allocations: 0 / 338.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.007484, allocations: 0 / 338.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.007561, allocations: 7.938 kB / 338.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.007568, allocations: 3.938 kB / 338.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.007624, allocations: 4 kB / 338.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.007632, allocations: 8 kB / 338.9 MB, free: 11.02 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 0.0001133/0.007746, allocations: 198.2 kB / 339.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.007765, allocations: 11.95 kB / 339.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.00779, allocations: 8.562 kB / 339.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.007796, allocations: 7.984 kB / 339.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.007801, allocations: 3.938 kB / 339.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007804, allocations: 0 / 339.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.007893, allocations: 132.6 kB / 339.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007895, allocations: 0 / 339.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.007914, allocations: 0 / 339.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007916, allocations: 4 kB / 339.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.007926, allocations: 7.984 kB / 339.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007927, allocations: 0 / 339.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007929, allocations: 0 / 339.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.008128, allocations: 227.7 kB / 339.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.008142, allocations: 7.984 kB / 339.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.008163, allocations: 4 kB / 339.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.008195, allocations: 7.938 kB / 339.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.008234, allocations: 7.938 kB / 339.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.008248, allocations: 4 kB / 339.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.008299, allocations: 135.2 kB / 339.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008299, allocations: 4 kB / 339.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.008477, allocations: 47.88 kB / 339.7 MB, free: 10.13 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.0006642/0.009141, allocations: 282.6 kB / 340 MB, free: 9.906 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.009325, allocations: 186.3 kB / 340.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009327, allocations: 0 / 340.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.00939, allocations: 124.7 kB / 340.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.009548, allocations: 15.98 kB / 340.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.009891, allocations: 200.2 kB / 340.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.009935, allocations: 67.34 kB / 340.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.009963, allocations: 0 / 340.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.009989, allocations: 12.5 kB / 340.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00999, allocations: 0 / 340.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of Templates: time 0.003536/0.01353, allocations: 1.557 MB / 342.1 MB, free: 7.668 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.9980384833179414]