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.0009893/0.0009893, allocations: 93.06 kB / 19.65 MB, free: 280 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.094/1.094, allocations: 177.1 MB / 200 MB, free: 5.828 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.001244/0.001244, allocations: 160.6 kB / 256.6 MB, free: 13.13 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.0227/0.0227, allocations: 6.67 MB / 319.8 MB, free: 26.5 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.492e-06/1.492e-06, allocations: 0 / 391.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/2.997e-05, allocations: 2.312 kB / 391.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002971/0.003001, allocations: 2.223 MB / 393.9 MB, free: 304 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.005035, allocations: 1.811 MB / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.005165, allocations: 0 / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.005501, allocations: 111.4 kB / 395.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.005997, allocations: 159.1 kB / 395.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.00625, allocations: 103.6 kB / 396 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.006576, allocations: 235 kB / 396.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.006701, allocations: 41.64 kB / 396.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.006847, allocations: 131.7 kB / 396.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.007018, allocations: 99.75 kB / 396.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.007046, allocations: 16 kB / 396.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.007224, allocations: 119.8 kB / 396.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.007291, allocations: 47.83 kB / 396.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.007356, allocations: 63.77 kB / 396.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.007683, allocations: 243.1 kB / 397 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007686, allocations: 0 / 397 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007687, allocations: 0 / 397 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007692, allocations: 0 / 397 MB, free: 13.14 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.0007087/0.008401, allocations: 0.5656 MB / 397.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.00844, allocations: 8.031 kB / 397.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.008509, allocations: 36.8 kB / 397.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008752, allocations: 192.1 kB / 397.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.008778, allocations: 12.61 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.008805, allocations: 12.38 kB / 397.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.009059, allocations: 191.8 kB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.009068, allocations: 3.938 kB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.009082, allocations: 8 kB / 398 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.00909, allocations: 4 kB / 398 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.009171, allocations: 44.66 kB / 398.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.01002, allocations: 0.5093 MB / 398.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.01037, allocations: 91.2 kB / 398.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.01043, allocations: 31.61 kB / 398.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.01045, allocations: 3.938 kB / 398.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.01064, allocations: 134 kB / 398.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.01064, allocations: 0 / 398.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003135/0.01096, allocations: 113.5 kB / 399 MB, free: 11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.01102, allocations: 106.8 kB / 399.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01128, allocations: 290.7 kB / 399.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01131, allocations: 33.69 kB / 399.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01141, allocations: 194.9 kB / 399.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.01143, allocations: 27.8 kB / 399.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.01148, allocations: 39.36 kB / 399.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01164, allocations: 0.5001 MB / 400.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.01168, allocations: 27.86 kB / 400.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.01176, allocations: 121.5 kB / 400.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.01185, allocations: 82.67 kB / 400.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01185, allocations: 0 / 400.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001517/0.012, allocations: 129.3 kB / 400.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01202, allocations: 4 kB / 400.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01202, allocations: 8.125 kB / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01204, allocations: 0 / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.01211, allocations: 27.92 kB / 400.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01212, allocations: 4 kB / 400.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.01218, allocations: 11.95 kB / 400.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.01218, allocations: 4 kB / 400.6 MB, free: 9.273 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.367e-05/0.01227, allocations: 160.6 kB / 400.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01229, allocations: 31.83 kB / 400.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.01246, allocations: 119 kB / 400.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01247, allocations: 4 kB / 400.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01247, allocations: 0 / 400.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01247, allocations: 4 kB / 400.9 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.01262, allocations: 188.5 kB / 401.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01262, allocations: 0 / 401.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.01268, allocations: 15.98 kB / 401.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01268, allocations: 4 kB / 401.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.0127, allocations: 3.938 kB / 401.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0127, allocations: 0 / 401.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0127, allocations: 0 / 401.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01291, allocations: 176.2 kB / 401.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.01293, allocations: 19.86 kB / 401.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01295, allocations: 11.92 kB / 401.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.013, allocations: 4 kB / 401.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.01303, allocations: 7.984 kB / 401.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01305, allocations: 4 kB / 401.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.01316, allocations: 209.5 kB / 401.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01316, allocations: 0 / 401.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.01338, allocations: 67.8 kB / 401.6 MB, free: 8.191 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.001036/0.01441, allocations: 496.7 kB / 402 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01458, allocations: 67.53 kB / 402.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01458, allocations: 0 / 402.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.01463, allocations: 43.81 kB / 402.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01484, allocations: 40.77 kB / 402.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.01572, allocations: 401.5 kB / 402.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01577, allocations: 79.83 kB / 402.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.01582, allocations: 17.48 kB / 402.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.01586, allocations: 20.48 kB / 402.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01586, allocations: 0 / 402.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of Templates: time 0.005076/0.02094, allocations: 3.084 MB / 405.8 MB, free: 4.094 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.2925682282075286]