Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.0009228/0.0009228, 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/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.012/1.012, allocations: 177.1 MB / 200 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.001072/0.001072, allocations: 156.7 kB / 256.6 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0296/0.0296, allocations: 6.664 MB / 319.8 MB, free: 26.53 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.7e-05, allocations: 2.312 kB / 391.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00235/0.002367, allocations: 2.235 MB / 393.9 MB, free: 340 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.004091, allocations: 1.804 MB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.995e-05/0.004191, allocations: 4 kB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.004521, allocations: 107.5 kB / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.004844, allocations: 155 kB / 395.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.005001, allocations: 99.62 kB / 396 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005222, allocations: 243 kB / 396.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005335, allocations: 29.66 kB / 396.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.005454, allocations: 135.7 kB / 396.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.005603, allocations: 103.7 kB / 396.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.005628, allocations: 16 kB / 396.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.005769, allocations: 119.7 kB / 396.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.005828, allocations: 51.83 kB / 396.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.005889, allocations: 59.78 kB / 396.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.00619, allocations: 243.2 kB / 397 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.006192, allocations: 0 / 397 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006193, allocations: 0 / 397 MB, free: 13.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.006197, allocations: 0 / 397 MB, free: 13.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005507/0.006748, allocations: 0.5656 MB / 397.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.006781, allocations: 12.03 kB / 397.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.00684, allocations: 36.78 kB / 397.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.007053, allocations: 192.1 kB / 397.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.007072, allocations: 12.55 kB / 397.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.007098, allocations: 12.38 kB / 397.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.007304, allocations: 187.8 kB / 398 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.007312, allocations: 3.938 kB / 398 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007326, allocations: 12 kB / 398 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007333, allocations: 0 / 398 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.007411, allocations: 48.66 kB / 398.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.007935, allocations: 0.5055 MB / 398.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.00816, allocations: 87.2 kB / 398.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.008206, allocations: 27.67 kB / 398.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.008222, allocations: 8 kB / 398.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.008346, allocations: 137.9 kB / 398.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.008347, allocations: 0 / 398.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002135/0.00856, allocations: 121.5 kB / 399 MB, free: 11.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.008599, allocations: 102.8 kB / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.008789, allocations: 290.7 kB / 399.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.008804, allocations: 33.64 kB / 399.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.008884, allocations: 194.9 kB / 399.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.008905, allocations: 27.8 kB / 399.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.008945, allocations: 39.36 kB / 399.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.009083, allocations: 0.5001 MB / 400.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.009115, allocations: 23.92 kB / 400.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.009181, allocations: 125.5 kB / 400.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.009258, allocations: 78.67 kB / 400.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00926, allocations: 0 / 400.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001319/0.009392, allocations: 125.4 kB / 400.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.009403, allocations: 8.125 kB / 400.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.009407, allocations: 7.938 kB / 400.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.009419, allocations: 0 / 400.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.009486, allocations: 27.92 kB / 400.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009492, allocations: 4 kB / 400.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.009542, allocations: 11.95 kB / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.009549, allocations: 4 kB / 400.5 MB, free: 9.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 7.034e-05/0.00962, allocations: 164.6 kB / 400.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.009642, allocations: 19.84 kB / 400.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.009787, allocations: 119 kB / 400.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009788, allocations: 4 kB / 400.8 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.009791, allocations: 4 kB / 400.8 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009794, allocations: 0 / 400.8 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.009915, allocations: 192.5 kB / 401 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.009916, allocations: 0 / 401 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.009971, allocations: 23.98 kB / 401.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.009972, allocations: 0 / 401.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.009981, allocations: 7.875 kB / 401.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009982, allocations: 0 / 401.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.009982, allocations: 0 / 401.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.01016, allocations: 172.6 kB / 401.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01018, allocations: 19.86 kB / 401.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01019, allocations: 3.938 kB / 401.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.01024, allocations: 11.98 kB / 401.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.01026, allocations: 7.984 kB / 401.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01028, allocations: 4 kB / 401.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.01038, allocations: 209.5 kB / 401.5 MB, free: 8.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01038, allocations: 3.938 kB / 401.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.01056, allocations: 59.81 kB / 401.5 MB, free: 8.238 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000942/0.0115, allocations: 0.4996 MB / 402 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01163, allocations: 71.53 kB / 402.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01163, allocations: 0 / 402.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.01167, allocations: 39.8 kB / 402.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.01186, allocations: 42.64 kB / 402.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.01249, allocations: 393.5 kB / 402.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.01253, allocations: 75.83 kB / 402.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.01258, allocations: 21.47 kB / 402.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.01261, allocations: 24.48 kB / 402.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01261, allocations: 0 / 402.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of Templates: time 0.004361/0.01697, allocations: 2.859 MB / 405.6 MB, free: 4.336 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1715106749907136]