Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001301/0.001301, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001544/0.001544, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.77 kB / 378.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004509/0.2846, allocations: 2.882 MB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2865, allocations: 0.8686 MB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2867, allocations: 4 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.2868, allocations: 51.5 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.2872, allocations: 115.2 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.2876, allocations: 207.5 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.2882, allocations: 482.3 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2884, allocations: 85.48 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.2887, allocations: 195.4 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.289, allocations: 223.1 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.353e-05/0.2891, allocations: 40 kB / 437.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.2892, allocations: 48 kB / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.2893, allocations: 91.67 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2895, allocations: 195.1 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.29, allocations: 456.6 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.29, allocations: 0 / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.29, allocations: 0 / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.29, allocations: 0 / 437.8 MB, free: 1 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001463/0.2915, allocations: 0.6219 MB / 438.5 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2915, allocations: 8.031 kB / 438.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.2916, allocations: 58.72 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2918, allocations: 44.7 kB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.2923, allocations: 249.4 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.2923, allocations: 76.39 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.2924, allocations: 24.38 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.2929, allocations: 284.3 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2929, allocations: 0 / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2929, allocations: 8 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2929, allocations: 4 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.2933, allocations: 173.5 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.2956, allocations: 1.006 MB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.2959, allocations: 114.4 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2961, allocations: 72.83 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2961, allocations: 0 / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2962, allocations: 38.56 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.2962, allocations: 4 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009398/0.2971, allocations: 286.5 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.2972, allocations: 158.2 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.2975, allocations: 269.8 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.2976, allocations: 29.7 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2977, allocations: 188.3 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2978, allocations: 43.59 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2979, allocations: 53.67 kB / 441.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.298, allocations: 334.8 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.2982, allocations: 83.97 kB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2984, allocations: 130.8 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.2988, allocations: 177.5 kB / 442.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2988, allocations: 0 / 442.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007585/0.3064, allocations: 0.887 MB / 443.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.3064, allocations: 8 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3064, allocations: 0 / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/0.3154, allocations: 0.8288 MB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3155, allocations: 19.92 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.3249, allocations: 4.69 MB / 448.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3253, allocations: 27.83 kB / 448.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3253, allocations: 7.984 kB / 448.8 MB, free: 5.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.3255, allocations: 141.8 kB / 448.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.3256, allocations: 23.86 kB / 448.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.3256, allocations: 29.77 kB / 449 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3257, allocations: 0 / 449 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.3257, allocations: 3.938 kB / 449 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3257, allocations: 0 / 449 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3267, allocations: 0.5934 MB / 449.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3267, allocations: 0 / 449.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3268, allocations: 23.98 kB / 449.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.3271, allocations: 49.72 kB / 449.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3271, allocations: 7.984 kB / 449.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.3293, allocations: 2.72 MB / 452.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3293, allocations: 3.984 kB / 452.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.3298, allocations: 313.4 kB / 452.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.3299, allocations: 31.78 kB / 452.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.3299, allocations: 4 kB / 452.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3301, allocations: 11.98 kB / 452.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3302, allocations: 35.89 kB / 452.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3303, allocations: 8 kB / 452.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.3305, allocations: 197.2 kB / 453 MB, free: 1.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3305, allocations: 0 / 453 MB, free: 1.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005708/0.3311, allocations: 103.8 kB / 453.1 MB, free: 0.9062 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0009078/0.332, allocations: 0.8436 MB / 453.9 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.3336, allocations: 0.5362 MB / 454.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3336, allocations: 4 kB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.3341, allocations: 317.2 kB / 454.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3346, allocations: 60.42 kB / 454.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.3528, allocations: 3.975 MB / 458.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3534, allocations: 0.7635 MB / 459.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.3535, allocations: 29.94 kB / 459.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3537, allocations: 87.39 kB / 459.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3537, allocations: 0 / 459.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/0.4105, allocations: 9.937 MB / 469.6 MB, free: 312 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.79, allocations: 6.438 kB / 469.6 MB, free: 312 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.180661786347628] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 12.891521241050214 12.906440362 12.613321744 Calling exit ...