Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.001369/0.001369, 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.016/1.016, allocations: 177.2 MB / 200.5 MB, free: 5.543 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.001876/0.001876, allocations: 164.5 kB / 257 MB, free: 13.06 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.02399/0.02399, allocations: 6.653 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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 391.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.23e-05, allocations: 2.312 kB / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002498/0.00251, allocations: 2.207 MB / 393.9 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003757, allocations: 1.072 MB / 394.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.00384, allocations: 3.938 kB / 394.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.004087, allocations: 111.4 kB / 395 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.004354, allocations: 143.2 kB / 395.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.004523, allocations: 103.6 kB / 395.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.004729, allocations: 235 kB / 395.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.004823, allocations: 41.64 kB / 395.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004937, allocations: 127.7 kB / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.005047, allocations: 95.77 kB / 395.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.005068, allocations: 12 kB / 395.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.00515, allocations: 63.84 kB / 395.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.0052, allocations: 47.83 kB / 395.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.00525, allocations: 47.86 kB / 395.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005452, allocations: 179.3 kB / 396.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005454, allocations: 0 / 396.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005455, allocations: 0 / 396.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.005458, allocations: 0 / 396.1 MB, free: 14.5 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.0004865/0.005944, allocations: 0.5464 MB / 396.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005972, allocations: 8.031 kB / 396.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.006025, allocations: 36.73 kB / 396.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.006198, allocations: 184.2 kB / 396.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.006215, allocations: 8.609 kB / 396.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.006236, allocations: 8.375 kB / 396.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.006399, allocations: 142.4 kB / 397 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006406, allocations: 3.938 kB / 397 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.006418, allocations: 4 kB / 397 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.006425, allocations: 8 kB / 397.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.006495, allocations: 40.67 kB / 397.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.006985, allocations: 0.5096 MB / 397.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.007396, allocations: 95.14 kB / 397.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.007451, allocations: 23.69 kB / 397.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.007467, allocations: 4 kB / 397.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.007643, allocations: 137.9 kB / 397.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.007644, allocations: 0 / 397.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002532/0.007898, allocations: 121.5 kB / 398 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.007942, allocations: 77.11 kB / 398.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.008133, allocations: 278.7 kB / 398.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.008155, allocations: 33.64 kB / 398.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.008243, allocations: 194.9 kB / 398.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.008268, allocations: 31.73 kB / 398.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.008312, allocations: 35.38 kB / 398.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.008428, allocations: 0.5001 MB / 399.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.008471, allocations: 20 kB / 399.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.008534, allocations: 96.05 kB / 399.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.008617, allocations: 74.69 kB / 399.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.008619, allocations: 0 / 399.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001516/0.008771, allocations: 125.4 kB / 399.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.008785, allocations: 4 kB / 399.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.008792, allocations: 16.05 kB / 399.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.008803, allocations: 0 / 399.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.008891, allocations: 23.98 kB / 399.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.008899, allocations: 7.938 kB / 399.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.008961, allocations: 7.953 kB / 399.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.008971, allocations: 11.98 kB / 399.5 MB, free: 10.82 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 8.422e-05/0.009055, allocations: 160.6 kB / 399.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.009079, allocations: 27.8 kB / 399.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.009286, allocations: 115.2 kB / 399.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.009289, allocations: 3.938 kB / 399.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.009293, allocations: 4 kB / 399.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009296, allocations: 0 / 399.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.009468, allocations: 188.5 kB / 400 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.009472, allocations: 4 kB / 400 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.009548, allocations: 15.98 kB / 400 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.009551, allocations: 0 / 400 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.009564, allocations: 11.88 kB / 400 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.009567, allocations: 4 kB / 400 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009568, allocations: 0 / 400 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.009769, allocations: 164.3 kB / 400.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.009791, allocations: 23.88 kB / 400.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.009812, allocations: 7.922 kB / 400.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.00986, allocations: 4 kB / 400.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.009893, allocations: 11.98 kB / 400.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.009906, allocations: 4 kB / 400.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.966e-05/0.01001, allocations: 201.5 kB / 400.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01001, allocations: 3.938 kB / 400.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000176/0.01018, allocations: 39.89 kB / 400.5 MB, free: 9.77 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.003071/0.01325, allocations: 383.8 kB / 400.8 MB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01347, allocations: 67.59 kB / 400.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01347, allocations: 0 / 400.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.01354, allocations: 39.8 kB / 400.9 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01385, allocations: 47.27 kB / 401 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01486, allocations: 397.6 kB / 401.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.01492, allocations: 83.75 kB / 401.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.01499, allocations: 17.47 kB / 401.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.01503, allocations: 20.5 kB / 401.5 MB, free: 8.801 MB / 330.7 MB Notification: Performance of SimCode: time 1.382e-06/0.01503, allocations: 0 / 401.5 MB, free: 8.801 MB / 330.7 MB Notification: Performance of Templates: time 0.004824/0.01986, allocations: 2.157 MB / 403.7 MB, free: 6.668 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2114733799826354]