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.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.001325/0.001325, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.467/1.467, allocations: 230.6 MB / 253.5 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.001908/0.001908, allocations: 214 kB / 310 MB, free: 3.035 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.04089/0.04089, allocations: 8.921 MB / 375.4 MB, free: 6.594 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: "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="cs",version="2.0",platforms={"static"}) [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.002383/0.002383, allocations: 79.88 kB / 0.4899 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09322, allocations: 55.61 MB / 0.5442 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003948/0.09716, allocations: 2.103 MB / 0.5463 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.09903, allocations: 1.048 MB / 0.5473 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.09913, allocations: 4 kB / 0.5473 GB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.09951, allocations: 103.5 kB / 0.5474 GB, free: 1.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.09993, allocations: 151.3 kB / 0.5475 GB, free: 1.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1002, allocations: 95.7 kB / 0.5476 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.1005, allocations: 231.1 kB / 0.5478 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1006, allocations: 33.78 kB / 0.5479 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1008, allocations: 95.62 kB / 0.548 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1009, allocations: 119.5 kB / 0.5481 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.101, allocations: 12 kB / 0.5481 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1011, allocations: 55.98 kB / 0.5481 GB, free: 1.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.1012, allocations: 43.83 kB / 0.5482 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1013, allocations: 75.61 kB / 0.5483 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1017, allocations: 239 kB / 0.5485 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1017, allocations: 0 / 0.5485 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1017, allocations: 0 / 0.5485 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1017, allocations: 0 / 0.5485 GB, free: 0.6523 MB / 366.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.0007371/0.1024, allocations: 449.2 kB / 0.5489 GB, free: 188 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1024, allocations: 11.98 kB / 0.5489 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/0.1025, allocations: 4.422 kB / 0.5489 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1025, allocations: 50.73 kB / 0.549 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.1026, allocations: 28.8 kB / 0.549 GB, free: 84 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1029, allocations: 189.8 kB / 0.5492 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1029, allocations: 12.36 kB / 0.5492 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.103, allocations: 12 kB / 0.5492 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1032, allocations: 153.2 kB / 0.5493 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1033, allocations: 0 / 0.5493 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1033, allocations: 4 kB / 0.5494 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1033, allocations: 4 kB / 0.5494 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1035, allocations: 76.66 kB / 0.5494 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.1043, allocations: 0.4935 MB / 0.5499 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.1047, allocations: 106.7 kB / 0.55 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.1048, allocations: 36.78 kB / 0.55 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1048, allocations: 0 / 0.55 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.105, allocations: 126.7 kB / 0.5502 GB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.105, allocations: 0 / 0.5502 GB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003712/0.1054, allocations: 153.5 kB / 0.5503 GB, free: 14.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1054, allocations: 81.11 kB / 0.5504 GB, free: 14.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1057, allocations: 280.9 kB / 0.5507 GB, free: 14.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1057, allocations: 25.7 kB / 0.5507 GB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1058, allocations: 140 kB / 0.5508 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1059, allocations: 43.62 kB / 0.5509 GB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.1059, allocations: 33.7 kB / 0.5509 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1061, allocations: 330.8 kB / 0.5512 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1062, allocations: 27.98 kB / 0.5512 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1063, allocations: 93.97 kB / 0.5513 GB, free: 13.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1065, allocations: 99.33 kB / 0.5514 GB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1065, allocations: 0 / 0.5514 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002569/0.1067, allocations: 133.5 kB / 0.5515 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1067, allocations: 4 kB / 0.5515 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1067, allocations: 0 / 0.5515 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1068, allocations: 7.984 kB / 0.5516 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1069, allocations: 28.03 kB / 0.5516 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1069, allocations: 0 / 0.5516 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.107, allocations: 23.88 kB / 0.5516 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.107, allocations: 4 kB / 0.5516 GB, free: 13.18 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.0001454/0.1071, allocations: 141.8 kB / 0.5517 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1072, allocations: 19.86 kB / 0.5518 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.1075, allocations: 147.2 kB / 0.5519 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1075, allocations: 4 kB / 0.5519 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1075, allocations: 0 / 0.5519 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1075, allocations: 4 kB / 0.5519 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1077, allocations: 204.9 kB / 0.5521 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1077, allocations: 0 / 0.5521 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.1078, allocations: 12 kB / 0.5521 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1078, allocations: 4 kB / 0.5521 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1078, allocations: 11.94 kB / 0.5521 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1078, allocations: 0 / 0.5521 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1078, allocations: 3.984 kB / 0.5521 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.1082, allocations: 205 kB / 0.5523 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.1083, allocations: 19.88 kB / 0.5524 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1083, allocations: 12.05 kB / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.1084, allocations: 8 kB / 0.5524 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1084, allocations: 7.984 kB / 0.5524 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1084, allocations: 0 / 0.5524 GB, free: 12.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.1086, allocations: 212.5 kB / 0.5526 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1086, allocations: 0 / 0.5526 GB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1089, allocations: 35.94 kB / 0.5526 GB, free: 12.07 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.00216/0.111, allocations: 1.065 MB / 0.5537 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1113, allocations: 83.83 kB / 0.5537 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1113, allocations: 4 kB / 0.5537 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.1114, allocations: 36.14 kB / 0.5538 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1117, allocations: 43.97 kB / 0.5538 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.1143, allocations: 2.099 MB / 0.5559 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.1144, allocations: 128.8 kB / 0.556 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.1145, allocations: 17.48 kB / 0.556 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1146, allocations: 59.41 kB / 0.5561 GB, free: 8.582 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1146, allocations: 0 / 0.5561 GB, free: 8.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.1524, allocations: 4.936 MB / 0.5609 GB, free: 3.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.27, allocations: 7.5 kB / 0.5609 GB, free: 3.715 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Tables_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Tables.fmu > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.406102501088753] Failed to read output from testmodel.py, exit status != 0: 11.492017643991858 11.701066305 11.596738347 Calling exit ...