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.001405/0.001405, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.1 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.001603/0.001603, allocations: 219.2 kB / 310 MB, free: 3.133 MB / 238.1 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.0501/0.0501, allocations: 8.914 MB / 375.3 MB, free: 6.582 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 91.86 kB / 0.4904 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1121, allocations: 55.61 MB / 0.5447 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004594/0.1167, allocations: 2.108 MB / 0.5467 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.1199, allocations: 1.742 MB / 0.5484 GB, free: 0.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1201, allocations: 4 kB / 0.5484 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.1205, allocations: 103.5 kB / 0.5485 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.121, allocations: 155.2 kB / 0.5487 GB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1213, allocations: 99.64 kB / 0.5488 GB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1217, allocations: 235.1 kB / 0.549 GB, free: 84 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1218, allocations: 38.77 kB / 0.549 GB, free: 48 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.122, allocations: 95.62 kB / 0.5491 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1222, allocations: 111.6 kB / 0.5492 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1223, allocations: 16 kB / 0.5492 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1225, allocations: 111.9 kB / 0.5494 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.1226, allocations: 51.83 kB / 0.5494 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1227, allocations: 75.53 kB / 0.5495 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.1232, allocations: 302.8 kB / 0.5498 GB, free: 15.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1232, allocations: 4 kB / 0.5498 GB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1232, allocations: 0 / 0.5498 GB, free: 15.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1232, allocations: 0 / 0.5498 GB, free: 15.29 MB / 382.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.0008547/0.1241, allocations: 476.9 kB / 0.5502 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1241, allocations: 15.98 kB / 0.5502 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.1242, allocations: 20.8 kB / 0.5503 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1246, allocations: 190.1 kB / 0.5504 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1246, allocations: 4.609 kB / 0.5504 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1246, allocations: 16.12 kB / 0.5505 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.125, allocations: 204.8 kB / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.125, allocations: 0 / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.125, allocations: 8 kB / 0.5507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.125, allocations: 7.938 kB / 0.5507 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1252, allocations: 68.67 kB / 0.5507 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.1261, allocations: 466.1 kB / 0.5512 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1265, allocations: 114.6 kB / 0.5513 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.1266, allocations: 32.84 kB / 0.5513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1266, allocations: 0 / 0.5513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1268, allocations: 138.7 kB / 0.5515 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1268, allocations: 0 / 0.5515 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004021/0.1272, allocations: 145.5 kB / 0.5516 GB, free: 13.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1273, allocations: 102.8 kB / 0.5517 GB, free: 13.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.1276, allocations: 280.1 kB / 0.552 GB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1277, allocations: 25.7 kB / 0.552 GB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1278, allocations: 152.5 kB / 0.5521 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1278, allocations: 35.72 kB / 0.5522 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1279, allocations: 29.72 kB / 0.5522 GB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.128, allocations: 330.8 kB / 0.5525 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.1281, allocations: 31.92 kB / 0.5525 GB, free: 12.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1282, allocations: 120.5 kB / 0.5527 GB, free: 12.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1284, allocations: 99.28 kB / 0.5527 GB, free: 11.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1284, allocations: 7.969 kB / 0.5528 GB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002584/0.1287, allocations: 141.4 kB / 0.5529 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1287, allocations: 4 kB / 0.5529 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1287, allocations: 4 kB / 0.5529 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1287, allocations: 0 / 0.5529 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1288, allocations: 27.98 kB / 0.5529 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1289, allocations: 4 kB / 0.5529 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.1289, allocations: 7.938 kB / 0.5529 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.129, allocations: 8.094 kB / 0.5529 GB, free: 11.77 MB / 382.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.0001578/0.1291, allocations: 147.8 kB / 0.5531 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1291, allocations: 23.86 kB / 0.5531 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1294, allocations: 139 kB / 0.5532 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1294, allocations: 0 / 0.5532 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1294, allocations: 0 / 0.5532 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1295, allocations: 3.984 kB / 0.5532 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1297, allocations: 177.2 kB / 0.5534 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1297, allocations: 0 / 0.5534 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1297, allocations: 19.94 kB / 0.5534 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1297, allocations: 8 kB / 0.5534 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1298, allocations: 0 / 0.5534 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1298, allocations: 0 / 0.5534 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1298, allocations: 0 / 0.5534 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1301, allocations: 205 kB / 0.5536 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.1302, allocations: 27.86 kB / 0.5537 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.1302, allocations: 0 / 0.5537 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1303, allocations: 4 kB / 0.5537 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1303, allocations: 11.98 kB / 0.5537 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1304, allocations: 4 kB / 0.5537 GB, free: 10.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1306, allocations: 209.9 kB / 0.5539 GB, free: 10.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1306, allocations: 0 / 0.5539 GB, free: 10.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1309, allocations: 63.81 kB / 0.5539 GB, free: 10.68 MB / 382.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.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.00195/0.1328, allocations: 0.5429 MB / 0.5545 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1331, allocations: 79.84 kB / 0.5545 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1331, allocations: 0 / 0.5545 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.1332, allocations: 35.98 kB / 0.5546 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1335, allocations: 39.06 kB / 0.5546 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.1344, allocations: 482.6 kB / 0.5551 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.1346, allocations: 128.8 kB / 0.5552 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.1346, allocations: 23.42 kB / 0.5552 GB, free: 9.535 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1346, allocations: 0 / 0.5552 GB, free: 9.535 MB / 382.1 MB Notification: Performance of Templates: time 0.006134/0.1408, allocations: 3.176 MB / 0.5583 GB, free: 6.371 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.206919881049544] Failed to read output from testmodel.py, exit status != 0: 0.14841054007411003 0.38387671100000004 0.25754222400000004 Calling exit ...