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.001273/0.001273, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.014/1.014, allocations: 177.2 MB / 200.5 MB, free: 5.492 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.001843/0.001843, allocations: 163.5 kB / 257 MB, free: 13.04 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.02914/0.02914, allocations: 6.651 MB / 320.1 MB, free: 26.61 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.273e-06/1.273e-06, allocations: 0 / 391.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.835e-05, allocations: 2.312 kB / 391.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002424/0.002442, allocations: 2.219 MB / 393.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004137, allocations: 1.796 MB / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.004235, allocations: 4 kB / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.004529, allocations: 111.5 kB / 395.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.004872, allocations: 163 kB / 395.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.005063, allocations: 95.62 kB / 396 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.005278, allocations: 239 kB / 396.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.005387, allocations: 33.66 kB / 396.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.005505, allocations: 131.7 kB / 396.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.00566, allocations: 103.7 kB / 396.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.005682, allocations: 20 kB / 396.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.00583, allocations: 119.7 kB / 396.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.005888, allocations: 47.83 kB / 396.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.005948, allocations: 63.77 kB / 396.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.006228, allocations: 239.2 kB / 397 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00623, allocations: 0 / 397 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00623, allocations: 0 / 397 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006235, allocations: 0 / 397 MB, free: 13.59 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.0005546/0.006789, allocations: 0.5656 MB / 397.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.006822, allocations: 12.03 kB / 397.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.006886, allocations: 36.78 kB / 397.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.007094, allocations: 200.1 kB / 397.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.007111, allocations: 4.609 kB / 397.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.007135, allocations: 12.38 kB / 397.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.007338, allocations: 191.8 kB / 398 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.007346, allocations: 3.938 kB / 398 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.007361, allocations: 11.98 kB / 398 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007367, allocations: 0 / 398 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.007443, allocations: 44.66 kB / 398.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.007956, allocations: 0.5094 MB / 398.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.008167, allocations: 91.2 kB / 398.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.008204, allocations: 23.69 kB / 398.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.008216, allocations: 4 kB / 398.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.008339, allocations: 133.9 kB / 398.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.00834, allocations: 0 / 398.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002125/0.008553, allocations: 125.5 kB / 399 MB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.008592, allocations: 102.8 kB / 399.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.008769, allocations: 294.7 kB / 399.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.008782, allocations: 25.7 kB / 399.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.008863, allocations: 198.8 kB / 399.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.008884, allocations: 27.8 kB / 399.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.008924, allocations: 39.36 kB / 399.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.009039, allocations: 0.5001 MB / 400.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.00907, allocations: 23.86 kB / 400.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.212e-05/0.009142, allocations: 125.5 kB / 400.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.009219, allocations: 82.7 kB / 400.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009221, allocations: 0 / 400.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001317/0.009352, allocations: 121.4 kB / 400.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.009364, allocations: 8 kB / 400.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.009368, allocations: 0 / 400.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.009379, allocations: 3.938 kB / 400.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.00945, allocations: 27.94 kB / 400.5 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.009457, allocations: 12.08 kB / 400.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.009508, allocations: 7.953 kB / 400.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.009515, allocations: 4 kB / 400.5 MB, free: 9.727 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.61e-05/0.009591, allocations: 168.2 kB / 400.7 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.009614, allocations: 23.84 kB / 400.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.009757, allocations: 123.1 kB / 400.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009758, allocations: 0 / 400.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009761, allocations: 4 kB / 400.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009765, allocations: 4 kB / 400.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.00989, allocations: 192.5 kB / 401 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.009891, allocations: 0 / 401 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.009945, allocations: 19.98 kB / 401.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.009946, allocations: 0 / 401.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.009957, allocations: 7.938 kB / 401.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009958, allocations: 3.938 kB / 401.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.009958, allocations: 0 / 401.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.01013, allocations: 164.2 kB / 401.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.01015, allocations: 19.86 kB / 401.3 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.01017, allocations: 7.938 kB / 401.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.01021, allocations: 12.02 kB / 401.3 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.01024, allocations: 11.97 kB / 401.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01026, allocations: 8 kB / 401.3 MB, free: 8.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01036, allocations: 205.5 kB / 401.5 MB, free: 8.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 0 / 401.5 MB, free: 8.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.01055, allocations: 67.75 kB / 401.6 MB, free: 8.637 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.0009147/0.01147, allocations: 498.3 kB / 402 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.0116, allocations: 71.53 kB / 402.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.0116, allocations: 0 / 402.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.01165, allocations: 35.61 kB / 402.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.01184, allocations: 40.84 kB / 402.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.0125, allocations: 401.6 kB / 402.6 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01254, allocations: 75.83 kB / 402.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.01258, allocations: 21.48 kB / 402.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01262, allocations: 20.48 kB / 402.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01262, allocations: 0 / 402.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of Templates: time 0.004234/0.01685, allocations: 2.858 MB / 405.6 MB, free: 4.742 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.133099810918793]