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.0008053/0.0008053, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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 0.8925/0.8925, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001037/0.001037, allocations: 152.6 kB / 256 MB, free: 13.33 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.02457/0.02457, allocations: 6.662 MB / 319 MB, free: 26.76 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: "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.841e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002038/0.002057, allocations: 2.105 MB / 447.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003086, allocations: 1.052 MB / 448.5 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003193, allocations: 4 kB / 448.5 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.003512, allocations: 115.3 kB / 448.7 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.003839, allocations: 151.2 kB / 448.8 MB, free: 34.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.004066, allocations: 99.58 kB / 448.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.004312, allocations: 235 kB / 449.1 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004442, allocations: 32.61 kB / 449.2 MB, free: 33.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.00459, allocations: 123.7 kB / 449.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.00473, allocations: 95.75 kB / 449.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.004755, allocations: 15.94 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-05/0.004855, allocations: 55.92 kB / 449.5 MB, free: 33.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.004919, allocations: 47.83 kB / 449.5 MB, free: 33.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.004978, allocations: 59.83 kB / 449.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.005242, allocations: 239.1 kB / 449.8 MB, free: 33.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005244, allocations: 0 / 449.8 MB, free: 33.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005245, allocations: 0 / 449.8 MB, free: 33.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00525, allocations: 3.938 kB / 449.8 MB, free: 33.21 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.0007541/0.006004, allocations: 443.1 kB / 450.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006042, allocations: 12.03 kB / 450.2 MB, free: 32.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.006076, allocations: 46.73 kB / 450.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.006122, allocations: 20.8 kB / 450.3 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.006373, allocations: 193.2 kB / 450.5 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.00639, allocations: 16.55 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.006414, allocations: 8.375 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.006634, allocations: 155.6 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.006647, allocations: 0 / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.006662, allocations: 4 kB / 450.7 MB, free: 32.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.006667, allocations: 0 / 450.7 MB, free: 32.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.006809, allocations: 76.66 kB / 450.7 MB, free: 32.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.007409, allocations: 0.4903 MB / 451.2 MB, free: 31.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.007757, allocations: 106.7 kB / 451.3 MB, free: 31.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.007815, allocations: 36.78 kB / 451.4 MB, free: 31.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.007829, allocations: 4 kB / 451.4 MB, free: 31.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.007958, allocations: 126.7 kB / 451.5 MB, free: 31.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.007959, allocations: 0 / 451.5 MB, free: 31.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002176/0.008176, allocations: 153.5 kB / 451.7 MB, free: 31.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.008198, allocations: 81.05 kB / 451.7 MB, free: 31.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.008337, allocations: 285.6 kB / 452 MB, free: 30.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.008346, allocations: 29.7 kB / 452 MB, free: 30.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.008393, allocations: 144 kB / 452.2 MB, free: 30.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.00841, allocations: 35.69 kB / 452.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.008441, allocations: 30.08 kB / 452.2 MB, free: 30.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.957e-05/0.008471, allocations: 330.8 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.008509, allocations: 27.98 kB / 452.6 MB, free: 30.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.008559, allocations: 93.97 kB / 452.7 MB, free: 30.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.00864, allocations: 95.33 kB / 452.8 MB, free: 29.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008642, allocations: 8 kB / 452.8 MB, free: 29.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001216/0.008764, allocations: 141.3 kB / 452.9 MB, free: 29.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.008776, allocations: 6.656 kB / 452.9 MB, free: 29.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.008781, allocations: 7.984 kB / 452.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.008791, allocations: 0 / 452.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.008849, allocations: 24.09 kB / 453 MB, free: 29.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.008855, allocations: 15.92 kB / 453 MB, free: 29.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.008905, allocations: 15.88 kB / 453 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.008911, allocations: 4 kB / 453 MB, free: 29.74 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 5.839e-05/0.00897, allocations: 137.8 kB / 453.1 MB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.008984, allocations: 27.8 kB / 453.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.009125, allocations: 135.4 kB / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009127, allocations: 0 / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.00913, allocations: 3.938 kB / 453.3 MB, free: 29.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.009133, allocations: 0 / 453.3 MB, free: 29.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.009228, allocations: 208.6 kB / 453.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.009229, allocations: 0 / 453.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.009275, allocations: 19.94 kB / 453.5 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009277, allocations: 0 / 453.5 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.009286, allocations: 3.984 kB / 453.5 MB, free: 29.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009287, allocations: 3.984 kB / 453.5 MB, free: 29.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009288, allocations: 0 / 453.5 MB, free: 29.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.009461, allocations: 201.1 kB / 453.7 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.009477, allocations: 23.78 kB / 453.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.009498, allocations: 0 / 453.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.009533, allocations: 16 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.009557, allocations: 7.984 kB / 453.8 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.009568, allocations: 7.938 kB / 453.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.009656, allocations: 209.2 kB / 454 MB, free: 28.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009656, allocations: 0 / 454 MB, free: 28.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.00981, allocations: 39.94 kB / 454 MB, free: 28.65 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.0007875/0.0106, allocations: 1.059 MB / 455.1 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01073, allocations: 83.89 kB / 455.2 MB, free: 27.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01073, allocations: 0 / 455.2 MB, free: 27.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.01077, allocations: 39.92 kB / 455.2 MB, free: 27.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01095, allocations: 36.47 kB / 455.2 MB, free: 27.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.01231, allocations: 2.069 MB / 457.3 MB, free: 25.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.01236, allocations: 124.8 kB / 457.4 MB, free: 25.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.01241, allocations: 25.47 kB / 457.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.01247, allocations: 56.48 kB / 457.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01247, allocations: 0 / 457.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.02813, allocations: 5.405 MB / 462.9 MB, free: 19.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.789, allocations: 8.047 kB / 462.9 MB, free: 19.84 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.70881119929254] Failed to read output from testmodel.py, exit status != 0: 6.885488600470126 6.892321801 6.885853259 Calling exit ...