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.001818/0.001818, allocations: 85.48 kB / 19.44 MB, free: 344 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.559/1.559, allocations: 177.1 MB / 199.7 MB, free: 5.785 MB / 186.7 MB " [Timeout remaining time 178] 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.002008/0.002008, allocations: 168.4 kB / 256.3 MB, free: 13.14 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.0414/0.0414, allocations: 6.647 MB / 319.4 MB, free: 26.55 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.815e-06/2.815e-06, allocations: 0 / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.887e-05/5.169e-05, allocations: 6.312 kB / 390.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.005174/0.005226, allocations: 2.192 MB / 393.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.009007, allocations: 1.777 MB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.009281, allocations: 4 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.009857, allocations: 107.5 kB / 395 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.01062, allocations: 167 kB / 395.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.01105, allocations: 95.62 kB / 395.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.01147, allocations: 235.1 kB / 395.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.01163, allocations: 37.64 kB / 395.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.01185, allocations: 131.7 kB / 395.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.01242, allocations: 103.7 kB / 395.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.01247, allocations: 16 kB / 395.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.01278, allocations: 123.7 kB / 395.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.01289, allocations: 47.83 kB / 395.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.013, allocations: 59.78 kB / 396 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.01362, allocations: 307 kB / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01362, allocations: 0 / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01362, allocations: 0 / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01363, allocations: 0 / 396.3 MB, free: 13.54 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.001115/0.01474, allocations: 0.5692 MB / 396.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01479, allocations: 16.02 kB / 396.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01489, allocations: 36.8 kB / 396.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.01526, allocations: 192.1 kB / 397.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.01528, allocations: 12.61 kB / 397.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.01532, allocations: 12.38 kB / 397.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.01569, allocations: 203.1 kB / 397.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01571, allocations: 3.938 kB / 397.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.01573, allocations: 11.98 kB / 397.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.01574, allocations: 0 / 397.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.01592, allocations: 68.67 kB / 397.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.01714, allocations: 0.5523 MB / 398 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.01758, allocations: 107.2 kB / 398.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.01767, allocations: 35.61 kB / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.01769, allocations: 0 / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.01797, allocations: 142 kB / 398.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.01797, allocations: 0 / 398.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004489/0.01842, allocations: 137.5 kB / 398.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.01852, allocations: 114.8 kB / 398.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.01891, allocations: 318.6 kB / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.01894, allocations: 29.64 kB / 398.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.01914, allocations: 199 kB / 399 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.01919, allocations: 35.73 kB / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.01927, allocations: 39.38 kB / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/0.01959, allocations: 0.5079 MB / 399.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.01967, allocations: 27.98 kB / 399.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.01985, allocations: 137.5 kB / 399.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.02005, allocations: 102.7 kB / 399.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02006, allocations: 0 / 399.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003061/0.02036, allocations: 137.4 kB / 400 MB, free: 9.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.02038, allocations: 7.938 kB / 400 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.02039, allocations: 4 kB / 400 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.02041, allocations: 0 / 400 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.02054, allocations: 31.92 kB / 400 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.02055, allocations: 4 kB / 400 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.02065, allocations: 15.98 kB / 400.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.02067, allocations: 4 kB / 400.1 MB, free: 9.438 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 0.0001979/0.02086, allocations: 188.2 kB / 400.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.02091, allocations: 19.84 kB / 400.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.02122, allocations: 127.1 kB / 400.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02123, allocations: 0 / 400.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.02123, allocations: 0 / 400.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.02123, allocations: 0 / 400.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.02151, allocations: 208.5 kB / 400.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.02151, allocations: 4 kB / 400.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.02161, allocations: 20 kB / 400.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.02162, allocations: 3.938 kB / 400.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.02164, allocations: 3.938 kB / 400.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.02165, allocations: 8 kB / 400.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02165, allocations: 3.938 kB / 400.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.02206, allocations: 196.2 kB / 400.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.0221, allocations: 11.91 kB / 400.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.02213, allocations: 11.94 kB / 400.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.02222, allocations: 7.984 kB / 400.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.02227, allocations: 7.984 kB / 400.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.02229, allocations: 8.031 kB / 400.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.02253, allocations: 225.5 kB / 401.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02253, allocations: 0 / 401.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000337/0.02287, allocations: 67.75 kB / 401.2 MB, free: 8.266 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.00341/0.02628, allocations: 0.5459 MB / 401.7 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.02667, allocations: 87.53 kB / 401.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.02667, allocations: 0 / 401.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.0268, allocations: 47.66 kB / 401.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.0272, allocations: 35.33 kB / 401.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.02814, allocations: 385.7 kB / 402.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.02829, allocations: 128.8 kB / 402.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.02839, allocations: 25.47 kB / 402.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.02845, allocations: 20.5 kB / 402.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.02845, allocations: 0 / 402.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of Templates: time 0.008263/0.03671, allocations: 2.853 MB / 405.3 MB, free: 4.305 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: 4.906834879075177]