Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009158/0.0009158, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9021/0.9021, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 324.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.555e-05, allocations: 3.266 kB / 324.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.00421/0.004225, allocations: 4.963 MB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.006654, allocations: 1.395 MB / 330.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.007042, allocations: 19.88 kB / 330.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.007451, allocations: 191.4 kB / 331.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006391/0.00809, allocations: 428.8 kB / 331.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.00857, allocations: 311.4 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008764/0.01733, allocations: 14.25 MB / 346.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.02117, allocations: 2.811 MB / 348.9 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.03193, allocations: 7.121 MB / 356 MB, free: 44 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006968/0.0389, allocations: 5.051 MB / 361.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.04036, allocations: 1.176 MB / 362.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.04166, allocations: 1.18 MB / 363.4 MB, free: 8.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.0431, allocations: 2.859 MB / 366.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.04641, allocations: 3.837 MB / 370.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008975/0.05539, allocations: 15.46 MB / 385.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.05539, allocations: 0 / 385.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.0554, allocations: 0 / 385.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002448/0.05564, allocations: 0 / 385.6 MB, free: 2.414 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.01365/0.06929, allocations: 10.55 MB / 396.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.06935, allocations: 19.97 kB / 396.2 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.07044, allocations: 1.023 MB / 397.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.07182, allocations: 0.9523 MB / 398.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.07757, allocations: 4.776 MB / 402.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.07787, allocations: 0.5495 MB / 403.5 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000842/0.07871, allocations: 0.7657 MB / 404.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.0925, allocations: 14.49 MB / 418.7 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.09258, allocations: 192 / 418.7 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006781/0.09326, allocations: 312.1 kB / 419 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.09346, allocations: 359 kB / 419.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.1052, allocations: 10.27 MB / 429.6 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3097/0.415, allocations: 31.58 MB / 461.2 MB, free: 96.67 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.42, allocations: 7.466 MB / 468.7 MB, free: 93.53 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/0.4255, allocations: 7.427 MB / 476.1 MB, free: 90 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.4257, allocations: 70.75 kB / 476.2 MB, free: 89.99 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.4257, allocations: 132.3 kB / 476.3 MB, free: 89.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=654): time 7.313e-06/0.4257, allocations: 0 / 476.3 MB, free: 89.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=654): time 0.008316/0.4341, allocations: 10.38 MB / 486.7 MB, free: 79.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.4341, allocations: 171.9 kB / 486.9 MB, free: 79.56 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/0.4386, allocations: 5.838 MB / 492.7 MB, free: 73.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.4389, allocations: 169.7 kB / 492.9 MB, free: 73.6 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000895/0.4398, allocations: 3.005 MB / 495.9 MB, free: 71 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008517/0.4406, allocations: 2.398 MB / 498.3 MB, free: 68.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.4416, allocations: 1.18 MB / 499.4 MB, free: 67.74 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.493e-05/0.4417, allocations: 304.9 kB / 499.7 MB, free: 67.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.4447, allocations: 4.019 MB / 0.492 GB, free: 63.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/0.4481, allocations: 4.597 MB / 0.4964 GB, free: 58.79 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006309/0.4544, allocations: 8.334 MB / 0.5046 GB, free: 50.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.4544, allocations: 0 / 0.5046 GB, free: 50.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.00862/0.463, allocations: 10.09 MB / 0.5144 GB, free: 40.28 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.463, allocations: 8 kB / 0.5144 GB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.4631, allocations: 0 / 0.5144 GB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.4633, allocations: 69.75 kB / 0.5145 GB, free: 40.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/0.4667, allocations: 1.956 MB / 0.5164 GB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007842/0.4675, allocations: 1.407 MB / 0.5178 GB, free: 36.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.4703, allocations: 0.7768 MB / 0.5186 GB, free: 36.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.4706, allocations: 198.3 kB / 0.5187 GB, free: 35.88 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 889 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002777/0.4733, allocations: 2.531 MB / 0.5212 GB, free: 33.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.4739, allocations: 0.6129 MB / 0.5218 GB, free: 32.73 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.4745, allocations: 0.7947 MB / 0.5226 GB, free: 31.92 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.4745, allocations: 60 kB / 0.5226 GB, free: 31.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.4746, allocations: 7.938 kB / 0.5227 GB, free: 31.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4746, allocations: 31.88 kB / 0.5227 GB, free: 31.82 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.4926, allocations: 23.53 MB / 0.5457 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.4927, allocations: 39.91 kB / 0.5457 GB, free: 7.879 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/0.4962, allocations: 1.741 MB / 0.5474 GB, free: 6.117 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.4963, allocations: 72.84 kB / 0.5475 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/0.4966, allocations: 231.9 kB / 0.5477 GB, free: 5.816 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004499/0.497, allocations: 1.325 MB / 0.549 GB, free: 4.379 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.497, allocations: 39.86 kB / 0.549 GB, free: 4.34 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.5086, allocations: 13.08 MB / 0.5618 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.51, allocations: 0.9135 MB / 0.5627 GB, free: 5.492 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/0.5105, allocations: 227.9 kB / 0.5629 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/0.5137, allocations: 0.8273 MB / 0.5637 GB, free: 4.441 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/0.5141, allocations: 462.8 kB / 0.5642 GB, free: 3.984 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/0.5144, allocations: 224 kB / 0.5644 GB, free: 3.762 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003856/0.5182, allocations: 4.104 MB / 0.5684 GB, free: 15.65 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5182, allocations: 0 / 0.5684 GB, free: 15.65 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003303/0.5215, allocations: 2.331 MB / 0.5707 GB, free: 13.32 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 116 * Number of states: 116 (firstOrder.y,oLine1.L[1].i,oLine1.L[2].i,oLine1.C[1].v,oLine5.L[1].i,oLine5.L[2].i,oLine5.L[3].i,oLine5.L[4].i,oLine5.L[5].i,oLine5.L[6].i,oLine5.C[1].v,oLine5.C[2].v,oLine5.C[3].v,oLine5.C[4].v,oLine5.C[5].v,oLine50.L[1].i,oLine50.L[2].i,oLine50.L[3].i,oLine50.L[4].i,oLine50.L[5].i,oLine50.L[6].i,oLine50.L[7].i,oLine50.L[8].i,oLine50.L[9].i,oLine50.L[10].i,oLine50.L[11].i,oLine50.L[12].i,oLine50.L[13].i,oLine50.L[14].i,oLine50.L[15].i,oLine50.L[16].i,oLine50.L[17].i,oLine50.L[18].i,oLine50.L[19].i,oLine50.L[20].i,oLine50.L[21].i,oLine50.L[22].i,oLine50.L[23].i,oLine50.L[24].i,oLine50.L[25].i,oLine50.L[26].i,oLine50.L[27].i,oLine50.L[28].i,oLine50.L[29].i,oLine50.L[30].i,oLine50.L[31].i,oLine50.L[32].i,oLine50.L[33].i,oLine50.L[34].i,oLine50.L[35].i,oLine50.L[36].i,oLine50.L[37].i,oLine50.L[38].i,oLine50.L[39].i,oLine50.L[40].i,oLine50.L[41].i,oLine50.L[42].i,oLine50.L[43].i,oLine50.L[44].i,oLine50.L[45].i,oLine50.L[46].i,oLine50.L[47].i,oLine50.L[48].i,oLine50.L[49].i,oLine50.L[50].i,oLine50.L[51].i,oLine50.C[1].v,oLine50.C[2].v,oLine50.C[3].v,oLine50.C[4].v,oLine50.C[5].v,oLine50.C[6].v,oLine50.C[7].v,oLine50.C[8].v,oLine50.C[9].v,oLine50.C[10].v,oLine50.C[11].v,oLine50.C[12].v,oLine50.C[13].v,oLine50.C[14].v,oLine50.C[15].v,oLine50.C[16].v,oLine50.C[17].v,oLine50.C[18].v,oLine50.C[19].v,oLine50.C[20].v,oLine50.C[21].v,oLine50.C[22].v,oLine50.C[23].v,oLine50.C[24].v,oLine50.C[25].v,oLine50.C[26].v,oLine50.C[27].v,oLine50.C[28].v,oLine50.C[29].v,oLine50.C[30].v,oLine50.C[31].v,oLine50.C[32].v,oLine50.C[33].v,oLine50.C[34].v,oLine50.C[35].v,oLine50.C[36].v,oLine50.C[37].v,oLine50.C[38].v,oLine50.C[39].v,oLine50.C[40].v,oLine50.C[41].v,oLine50.C[42].v,oLine50.C[43].v,oLine50.C[44].v,oLine50.C[45].v,oLine50.C[46].v,oLine50.C[47].v,oLine50.C[48].v,oLine50.C[49].v,oLine50.C[50].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (653): * Single equations (assignments): 652 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/0.5337, allocations: 13.99 MB / 0.5843 GB, free: 14.46 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008374/0.5421, allocations: 8.314 MB / 0.5924 GB, free: 6.09 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.313e-05/0.5421, allocations: 16.05 kB / 0.5925 GB, free: 6.074 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.5457, allocations: 4.107 MB / 0.5965 GB, free: 1.949 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/0.5498, allocations: 1.441 MB / 0.5979 GB, free: 0.5039 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2364/0.7863, allocations: 68.81 MB / 0.6651 GB, free: 122.4 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/0.7896, allocations: 4.794 MB / 0.6698 GB, free: 117.6 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00417/0.7937, allocations: 2.828 MB / 0.6725 GB, free: 115.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/0.7961, allocations: 2.929 MB / 0.6754 GB, free: 112.2 MB / 474.8 MB Notification: Performance of SimCode: time 1.342e-06/0.7961, allocations: 0 / 0.6754 GB, free: 112.2 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3307/1.127, allocations: 140.8 MB / 0.8129 GB, free: 160.4 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.6, allocations: 5.406 kB / 0.8129 GB, free: 160.4 MB / 490.8 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.464410894550383] Failed to read output from testmodel.py, exit status != 0: ['time', 'R1.v', 'R5.v', 'R50.v', 'Rdistr.v'] 13.745307721197605 13.752314242 13.695556871 Calling exit ...