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.001302/0.001302, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.046/1.046, allocations: 177.2 MB / 200.3 MB, free: 5.387 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.001461/0.001461, allocations: 152.7 kB / 256.9 MB, free: 12.82 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.02432/0.02432, allocations: 6.656 MB / 320.1 MB, free: 26.34 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 2.385e-06/2.385e-06, allocations: 0 / 392.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.574e-05, allocations: 2.312 kB / 392.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00462/0.004656, allocations: 2.211 MB / 394.3 MB, free: 20 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.007427, allocations: 1.796 MB / 396.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.007598, allocations: 7.938 kB / 396.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.008035, allocations: 99.55 kB / 396.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.008558, allocations: 167 kB / 396.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.00887, allocations: 99.56 kB / 396.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.009132, allocations: 239.1 kB / 396.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.00926, allocations: 33.64 kB / 396.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.009415, allocations: 131.6 kB / 396.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.00958, allocations: 99.75 kB / 397 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.009606, allocations: 16 kB / 397 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.009771, allocations: 119.8 kB / 397.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.00984, allocations: 51.83 kB / 397.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.009899, allocations: 59.77 kB / 397.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.01022, allocations: 243.1 kB / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01022, allocations: 4 kB / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01022, allocations: 0 / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.01023, allocations: 0 / 397.4 MB, free: 12.88 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.0006515/0.01088, allocations: 0.5695 MB / 398 MB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.01092, allocations: 8.031 kB / 398 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.01099, allocations: 32.8 kB / 398 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.01122, allocations: 200.1 kB / 398.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.01124, allocations: 12.59 kB / 398.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.01127, allocations: 12.38 kB / 398.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.0115, allocations: 183.8 kB / 398.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01151, allocations: 3.938 kB / 398.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.01152, allocations: 8 kB / 398.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01153, allocations: 0 / 398.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.01159, allocations: 40.59 kB / 398.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.0121, allocations: 482.3 kB / 399 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.0123, allocations: 83.14 kB / 399.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.01233, allocations: 27.67 kB / 399.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.01235, allocations: 0 / 399.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.01248, allocations: 126 kB / 399.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.01248, allocations: 0 / 399.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001983/0.01268, allocations: 121.4 kB / 399.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.01272, allocations: 106.8 kB / 399.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.0129, allocations: 286.6 kB / 399.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.01292, allocations: 29.64 kB / 399.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.01301, allocations: 198.9 kB / 399.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.01303, allocations: 27.8 kB / 400 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.01307, allocations: 39.36 kB / 400 MB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01321, allocations: 0.504 MB / 400.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.01324, allocations: 19.94 kB / 400.5 MB, free: 9.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.01331, allocations: 117.5 kB / 400.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.01338, allocations: 74.7 kB / 400.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01339, allocations: 4 kB / 400.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001354/0.01352, allocations: 117.4 kB / 400.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01354, allocations: 7.938 kB / 400.8 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01354, allocations: 3.938 kB / 400.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01356, allocations: 4 kB / 400.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.01363, allocations: 23.98 kB / 400.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.01363, allocations: 0 / 400.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.01369, allocations: 20.05 kB / 400.9 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.01369, allocations: 4 kB / 400.9 MB, free: 9.105 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 9.155e-05/0.01379, allocations: 168.5 kB / 401 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.01381, allocations: 19.91 kB / 401.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.01396, allocations: 107.2 kB / 401.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01396, allocations: 0 / 401.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01396, allocations: 0 / 401.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01397, allocations: 0 / 401.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.0141, allocations: 157.1 kB / 401.3 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0141, allocations: 4 kB / 401.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.01416, allocations: 19.92 kB / 401.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01417, allocations: 4 kB / 401.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01418, allocations: 11.92 kB / 401.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01418, allocations: 0 / 401.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01418, allocations: 3.938 kB / 401.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.01437, allocations: 160.3 kB / 401.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01439, allocations: 15.86 kB / 401.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.0144, allocations: 4 kB / 401.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.01445, allocations: 11.98 kB / 401.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.01448, allocations: 15.95 kB / 401.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01449, allocations: 0 / 401.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.01459, allocations: 201.5 kB / 401.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01459, allocations: 7.875 kB / 401.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000213/0.0148, allocations: 63.81 kB / 401.8 MB, free: 8.086 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.0009802/0.01578, allocations: 499.1 kB / 402.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.0159, allocations: 59.53 kB / 402.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0159, allocations: 0 / 402.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.01594, allocations: 35.61 kB / 402.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01614, allocations: 43.97 kB / 402.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.01684, allocations: 397.7 kB / 402.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.01689, allocations: 75.83 kB / 402.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.01694, allocations: 21.48 kB / 402.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01704, allocations: 110.2 kB / 403.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01704, allocations: 0 / 403.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of Templates: time 0.0054/0.02244, allocations: 3.126 MB / 406.2 MB, free: 3.855 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.1539355269633234]