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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 113.9 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 184.5 kB / 295.1 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04084/0.04084, allocations: 8.798 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002124/0.002124, allocations: 83.86 kB / 473.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2953, allocations: 51.55 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003892/0.2992, allocations: 2.168 MB / 0.5147 GB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3011, allocations: 0.9486 MB / 0.5156 GB, free: 9.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.3012, allocations: 0 / 0.5156 GB, free: 9.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3015, allocations: 107.5 kB / 0.5157 GB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.3017, allocations: 115.4 kB / 0.5158 GB, free: 9.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3021, allocations: 123.6 kB / 0.5159 GB, free: 9.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.3023, allocations: 223.1 kB / 0.5161 GB, free: 9.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3025, allocations: 45.66 kB / 0.5162 GB, free: 9.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3026, allocations: 91.69 kB / 0.5163 GB, free: 9.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3027, allocations: 107.6 kB / 0.5164 GB, free: 9.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3028, allocations: 12 kB / 0.5164 GB, free: 9.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3029, allocations: 51.98 kB / 0.5164 GB, free: 9.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.303, allocations: 43.84 kB / 0.5165 GB, free: 9.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3031, allocations: 95.34 kB / 0.5166 GB, free: 8.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3034, allocations: 225.8 kB / 0.5168 GB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3034, allocations: 0 / 0.5168 GB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3034, allocations: 0 / 0.5168 GB, free: 8.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3034, allocations: 0 / 0.5168 GB, free: 8.77 MB / 334.1 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.0006795/0.3041, allocations: 0.5101 MB / 0.5173 GB, free: 8.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.3041, allocations: 12.03 kB / 0.5173 GB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.3042, allocations: 20.8 kB / 0.5173 GB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.3045, allocations: 253.1 kB / 0.5175 GB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3046, allocations: 8.609 kB / 0.5176 GB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3046, allocations: 12.12 kB / 0.5176 GB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3048, allocations: 123.5 kB / 0.5177 GB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3049, allocations: 4 kB / 0.5177 GB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3049, allocations: 4 kB / 0.5177 GB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3049, allocations: 4 kB / 0.5177 GB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3051, allocations: 68.61 kB / 0.5178 GB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.3059, allocations: 0.5459 MB / 0.5183 GB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3062, allocations: 110.7 kB / 0.5184 GB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.3063, allocations: 32.84 kB / 0.5184 GB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3063, allocations: 7.938 kB / 0.5184 GB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3065, allocations: 105 kB / 0.5185 GB, free: 6.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3065, allocations: 0 / 0.5185 GB, free: 6.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003312/0.3068, allocations: 141.5 kB / 0.5187 GB, free: 6.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.3069, allocations: 85.05 kB / 0.5188 GB, free: 6.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.3072, allocations: 260.2 kB / 0.519 GB, free: 6.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3072, allocations: 26.08 kB / 0.519 GB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3074, allocations: 147.8 kB / 0.5192 GB, free: 6.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.3074, allocations: 31.8 kB / 0.5192 GB, free: 6.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3075, allocations: 33.66 kB / 0.5192 GB, free: 6.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3076, allocations: 342.7 kB / 0.5196 GB, free: 5.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.3077, allocations: 27.98 kB / 0.5196 GB, free: 5.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.3078, allocations: 60.28 kB / 0.5196 GB, free: 5.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.308, allocations: 95.39 kB / 0.5197 GB, free: 5.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.308, allocations: 0 / 0.5197 GB, free: 5.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002481/0.3082, allocations: 137.4 kB / 0.5199 GB, free: 5.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3083, allocations: 6.344 kB / 0.5199 GB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3083, allocations: 0 / 0.5199 GB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3083, allocations: 4 kB / 0.5199 GB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3084, allocations: 31.92 kB / 0.5199 GB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3084, allocations: 4.094 kB / 0.5199 GB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.3085, allocations: 15.94 kB / 0.5199 GB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3085, allocations: 4 kB / 0.5199 GB, free: 5.258 MB / 334.1 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.0001202/0.3086, allocations: 145.7 kB / 0.5201 GB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.3087, allocations: 19.89 kB / 0.5201 GB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.3087, allocations: 21.41 kB / 0.5201 GB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3088, allocations: 0 / 0.5201 GB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3088, allocations: 0 / 0.5201 GB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3088, allocations: 3.984 kB / 0.5201 GB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.309, allocations: 245.5 kB / 0.5203 GB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.309, allocations: 8 kB / 0.5203 GB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.3091, allocations: 15.98 kB / 0.5204 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3091, allocations: 0 / 0.5204 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3092, allocations: 0 / 0.5204 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3092, allocations: 0 / 0.5204 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3092, allocations: 0 / 0.5204 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.3095, allocations: 192.9 kB / 0.5205 GB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.3096, allocations: 93.05 kB / 0.5206 GB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3096, allocations: 0 / 0.5206 GB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.3097, allocations: 7.984 kB / 0.5206 GB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.3097, allocations: 8 kB / 0.5207 GB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3098, allocations: 4 kB / 0.5207 GB, free: 4.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.31, allocations: 197.6 kB / 0.5208 GB, free: 4.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 0 / 0.5208 GB, free: 4.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3102, allocations: 43.98 kB / 0.5209 GB, free: 4.168 MB / 334.1 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.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001459/0.3117, allocations: 427.7 kB / 0.5213 GB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3119, allocations: 75.91 kB / 0.5214 GB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3119, allocations: 0 / 0.5214 GB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.312, allocations: 39.92 kB / 0.5214 GB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3123, allocations: 53.95 kB / 0.5215 GB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.3132, allocations: 453.8 kB / 0.5219 GB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3136, allocations: 0.7358 MB / 0.5226 GB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3136, allocations: 19.44 kB / 0.5226 GB, free: 2.496 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3137, allocations: 0 / 0.5226 GB, free: 2.496 MB / 334.1 MB Notification: Performance of Templates: time 0.005247/0.3189, allocations: 2.561 MB / 0.5251 GB, free: 15.94 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.742651030886918] Failed to read output from testmodel.py, exit status != 0: 0.325797877041623 0.33910993399999995 0.033350794 Calling exit ...