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.0007222/0.0007222, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009415/0.001664, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.12/1.12, allocations: 177.2 MB / 188.3 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2114/1.331, allocations: 53.65 MB / 242 MB, free: 2.629 MB / 234.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.001153/0.001153, allocations: 155.1 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002543, allocations: 474.7 kB / 243.4 MB, free: 1.285 MB / 234.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.02553/0.02553, allocations: 6.663 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007882/0.03342, allocations: 2.664 MB / 253.5 MB, free: 7.41 MB / 250.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 2.234e-06/2.234e-06, allocations: 3.938 kB / 254.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.276e-05, allocations: 2.312 kB / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004923/0.004956, allocations: 2.283 MB / 257 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.008265, allocations: 1.855 MB / 258.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.008513, allocations: 4 kB / 258.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.008979, allocations: 103.4 kB / 259 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.009566, allocations: 163.1 kB / 259.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.009967, allocations: 111.4 kB / 259.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.01036, allocations: 235 kB / 259.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.01054, allocations: 34.44 kB / 259.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.01099, allocations: 163.7 kB / 259.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.01122, allocations: 95.7 kB / 259.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.01125, allocations: 15.94 kB / 259.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.01153, allocations: 115.8 kB / 259.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.01161, allocations: 39.88 kB / 259.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.01168, allocations: 51.88 kB / 260 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.01207, allocations: 239.1 kB / 260.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.01208, allocations: 0 / 260.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01208, allocations: 0 / 260.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.0121, allocations: 0 / 260.2 MB, free: 0.6133 MB / 250.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.0006897/0.01279, allocations: 483.2 kB / 260.7 MB, free: 120 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.01283, allocations: 12.03 kB / 260.7 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.01288, allocations: 24.91 kB / 260.7 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.01314, allocations: 173.3 kB / 260.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.01316, allocations: 20.59 kB / 260.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.01319, allocations: 12.38 kB / 260.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.0134, allocations: 192.8 kB / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.01341, allocations: 3.938 kB / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.01342, allocations: 0 / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01342, allocations: 4 kB / 261.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.01347, allocations: 35.5 kB / 261.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.014, allocations: 367.9 kB / 261.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.01425, allocations: 124 kB / 261.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.01428, allocations: 20.84 kB / 261.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.0143, allocations: 0 / 261.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.01445, allocations: 117.5 kB / 261.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.01446, allocations: 0 / 261.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001929/0.01465, allocations: 84.42 kB / 261.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01469, allocations: 59.34 kB / 261.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01486, allocations: 229.1 kB / 262.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01488, allocations: 33.7 kB / 262.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.01494, allocations: 124.7 kB / 262.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.01497, allocations: 35.72 kB / 262.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.01501, allocations: 29.67 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.01511, allocations: 338.8 kB / 262.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.01513, allocations: 10.83 kB / 262.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.01518, allocations: 104.5 kB / 262.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.01525, allocations: 64.98 kB / 262.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01525, allocations: 8.031 kB / 262.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001093/0.01536, allocations: 92.36 kB / 263 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01538, allocations: 6.656 kB / 263 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01538, allocations: 7.875 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.0154, allocations: 7.984 kB / 263 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01551, allocations: 27.98 kB / 263 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.01551, allocations: 0 / 263 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.01556, allocations: 12 kB / 263 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.01557, allocations: 8.094 kB / 263 MB, free: 13.54 MB / 266.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 8.828e-05/0.01565, allocations: 123.1 kB / 263.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.01567, allocations: 11.98 kB / 263.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.01579, allocations: 91.06 kB / 263.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01579, allocations: 3.984 kB / 263.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01579, allocations: 3.938 kB / 263.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01579, allocations: 0 / 263.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.0159, allocations: 117.7 kB / 263.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.0159, allocations: 0 / 263.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.01597, allocations: 23.97 kB / 263.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01599, allocations: 27.84 kB / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.016, allocations: 0 / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01601, allocations: 7.922 kB / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01601, allocations: 0 / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01601, allocations: 0 / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.01614, allocations: 119.1 kB / 263.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01616, allocations: 4 kB / 263.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.0162, allocations: 11.94 kB / 263.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.01623, allocations: 3.984 kB / 263.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01624, allocations: 4 kB / 263.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.01631, allocations: 97.95 kB / 263.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01631, allocations: 0 / 263.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.0165, allocations: 67.75 kB / 263.7 MB, free: 12.78 MB / 266.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.001714/0.01821, allocations: 0.6978 MB / 264.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01836, allocations: 56.77 kB / 264.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.01837, allocations: 4 kB / 264.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.01843, allocations: 37.05 kB / 264.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01868, allocations: 272.2 kB / 264.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.0201, allocations: 394.3 kB / 265.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.02015, allocations: 79.81 kB / 265.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.0202, allocations: 25.47 kB / 265.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.0203, allocations: 83.36 kB / 265.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0203, allocations: 0 / 265.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005787/0.02609, allocations: 3.221 MB / 268.6 MB, free: 8.168 MB / 266.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: 2.9319180445745587]