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.00183/0.00183, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.417/1.417, allocations: 225.6 MB / 245.5 MB, free: 14.15 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.001536/0.001536, allocations: 190.6 kB / 300.5 MB, free: 9.805 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.04027/0.04027, allocations: 8.937 MB / 364.3 MB, free: 10.14 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.002402/0.002402, allocations: 89.94 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1078, allocations: 54.42 MB / 0.5289 GB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003841/0.1116, allocations: 2.164 MB / 0.5311 GB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1133, allocations: 0.9586 MB / 0.532 GB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1134, allocations: 8 kB / 0.532 GB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.1138, allocations: 107.5 kB / 0.5321 GB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1141, allocations: 99.5 kB / 0.5322 GB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1145, allocations: 131.6 kB / 0.5323 GB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.1147, allocations: 219.2 kB / 0.5325 GB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1149, allocations: 33.67 kB / 0.5326 GB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.115, allocations: 91.62 kB / 0.5327 GB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1152, allocations: 119.6 kB / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1152, allocations: 12 kB / 0.5328 GB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1153, allocations: 51.94 kB / 0.5328 GB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.1154, allocations: 47.83 kB / 0.5329 GB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.1155, allocations: 91.41 kB / 0.533 GB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.1158, allocations: 223 kB / 0.5332 GB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1158, allocations: 0 / 0.5332 GB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1159, allocations: 0 / 0.5332 GB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1159, allocations: 0 / 0.5332 GB, free: 12.47 MB / 350.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.0008126/0.1167, allocations: 0.514 MB / 0.5337 GB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1167, allocations: 12.03 kB / 0.5337 GB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.1168, allocations: 24.73 kB / 0.5337 GB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1172, allocations: 245.2 kB / 0.5339 GB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1172, allocations: 8.609 kB / 0.534 GB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.1172, allocations: 16.12 kB / 0.534 GB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1175, allocations: 115.5 kB / 0.5341 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1175, allocations: 0 / 0.5341 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1175, allocations: 12 kB / 0.5341 GB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1175, allocations: 4 kB / 0.5341 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1177, allocations: 69.55 kB / 0.5342 GB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.1186, allocations: 0.542 MB / 0.5347 GB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.119, allocations: 102.7 kB / 0.5348 GB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1191, allocations: 40.83 kB / 0.5348 GB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1191, allocations: 7.984 kB / 0.5348 GB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.1193, allocations: 93.05 kB / 0.5349 GB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1193, allocations: 4 kB / 0.5349 GB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003731/0.1197, allocations: 145.5 kB / 0.5351 GB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.1198, allocations: 81.42 kB / 0.5351 GB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1201, allocations: 264.2 kB / 0.5354 GB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1201, allocations: 25.7 kB / 0.5354 GB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1202, allocations: 147.9 kB / 0.5356 GB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1203, allocations: 35.67 kB / 0.5356 GB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1203, allocations: 29.7 kB / 0.5356 GB, free: 9.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1205, allocations: 334.8 kB / 0.5359 GB, free: 9.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.1206, allocations: 31.98 kB / 0.536 GB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1207, allocations: 60.28 kB / 0.536 GB, free: 9.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1208, allocations: 95.39 kB / 0.5361 GB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1208, allocations: 0 / 0.5361 GB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002644/0.1211, allocations: 141.3 kB / 0.5363 GB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1211, allocations: 11.98 kB / 0.5363 GB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1211, allocations: 0 / 0.5363 GB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1211, allocations: 4 kB / 0.5363 GB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1213, allocations: 23.94 kB / 0.5363 GB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1213, allocations: 0 / 0.5363 GB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1214, allocations: 27.97 kB / 0.5363 GB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1214, allocations: 4 kB / 0.5363 GB, free: 8.961 MB / 350.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.0001505/0.1215, allocations: 148.4 kB / 0.5365 GB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.1216, allocations: 15.91 kB / 0.5365 GB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.1216, allocations: 21.39 kB / 0.5365 GB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1216, allocations: 4 kB / 0.5365 GB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1216, allocations: 0 / 0.5365 GB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1216, allocations: 0 / 0.5365 GB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1219, allocations: 245.4 kB / 0.5367 GB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1219, allocations: 4 kB / 0.5367 GB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.122, allocations: 16 kB / 0.5368 GB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.122, allocations: 0 / 0.5368 GB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.122, allocations: 7.938 kB / 0.5368 GB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.122, allocations: 3.984 kB / 0.5368 GB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.122, allocations: 0 / 0.5368 GB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.1224, allocations: 184.9 kB / 0.5369 GB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1224, allocations: 93.11 kB / 0.537 GB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1225, allocations: 8 kB / 0.537 GB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.1225, allocations: 7.984 kB / 0.537 GB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1226, allocations: 4 kB / 0.5371 GB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1226, allocations: 3.984 kB / 0.5371 GB, free: 8.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.1228, allocations: 197.7 kB / 0.5372 GB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1228, allocations: 3.938 kB / 0.5372 GB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1231, allocations: 43.89 kB / 0.5373 GB, free: 7.867 MB / 350.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.001478/0.1245, allocations: 413.8 kB / 0.5377 GB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1248, allocations: 79.83 kB / 0.5378 GB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1248, allocations: 0 / 0.5378 GB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.1249, allocations: 39.86 kB / 0.5378 GB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1252, allocations: 32.36 kB / 0.5378 GB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.1261, allocations: 465.7 kB / 0.5383 GB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1265, allocations: 0.7397 MB / 0.539 GB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1265, allocations: 19.44 kB / 0.539 GB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1265, allocations: 0 / 0.539 GB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.005122/0.1316, allocations: 2.563 MB / 0.5415 GB, free: 3.652 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.823709335003514] Failed to read output from testmodel.py, exit status != 0: 0.38431506900815293 0.153637295 0.034768372 Calling exit ...