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.CompareLosslessLines.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.001826/0.001826, 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.0022/0.0022, allocations: 213.2 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.CompareLosslessLines,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",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.001906/0.001906, allocations: 72.77 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2734, allocations: 53.37 MB / 432 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00489/0.2783, allocations: 3.636 MB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.28, allocations: 0.8881 MB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.2801, allocations: 15.94 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.2804, allocations: 75.22 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.2807, allocations: 150.7 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.2811, allocations: 203.6 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.2818, allocations: 0.6116 MB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2821, allocations: 174.5 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2824, allocations: 243.2 kB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.2828, allocations: 286.8 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.357e-05/0.2828, allocations: 63.94 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.2829, allocations: 56 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.283, allocations: 131.6 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2833, allocations: 274.7 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.2839, allocations: 0.6144 MB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2839, allocations: 4 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2839, allocations: 0 / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.284, allocations: 0 / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001458/0.2854, allocations: 0.7836 MB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2854, allocations: 8.031 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.774e-05/0.2855, allocations: 90.7 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.2856, allocations: 56.61 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.2861, allocations: 288.7 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.2862, allocations: 33.38 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.2862, allocations: 48.12 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.2871, allocations: 0.514 MB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2871, allocations: 3.938 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.2872, allocations: 20 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2872, allocations: 12 kB / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.2878, allocations: 311.8 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.2901, allocations: 1.506 MB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.2906, allocations: 194.5 kB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.2909, allocations: 84.81 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.2909, allocations: 4 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.2913, allocations: 225.6 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/0.2913, allocations: 0 / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001389/0.2927, allocations: 474.3 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.2929, allocations: 316.4 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.2932, allocations: 308.2 kB / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.2933, allocations: 37.69 kB / 444.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.2935, allocations: 276.1 kB / 444.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.2935, allocations: 91.16 kB / 445 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2937, allocations: 86.02 kB / 445.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2938, allocations: 338.8 kB / 445.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.294, allocations: 108.7 kB / 445.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.2944, allocations: 257.2 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.2949, allocations: 335.1 kB / 446.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2949, allocations: 4.094 kB / 446.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001099/0.296, allocations: 0.5296 MB / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.2961, allocations: 41.69 kB / 446.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2961, allocations: 7.938 kB / 446.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.2967, allocations: 166.4 kB / 446.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2969, allocations: 51.91 kB / 446.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.3013, allocations: 4.626 MB / 451.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3017, allocations: 67.7 kB / 451.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.3017, allocations: 16 kB / 451.6 MB, free: 2.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.3019, allocations: 165.8 kB / 451.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.302, allocations: 35.81 kB / 451.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.302, allocations: 43.02 kB / 451.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.302, allocations: 4 kB / 451.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3021, allocations: 0 / 451.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3021, allocations: 0 / 451.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.3025, allocations: 400.3 kB / 452.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3025, allocations: 192 / 452.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3027, allocations: 39.97 kB / 452.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.303, allocations: 103.4 kB / 452.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.303, allocations: 11.92 kB / 452.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.3071, allocations: 5.343 MB / 457.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3071, allocations: 0 / 457.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.3079, allocations: 357 kB / 458 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.3079, allocations: 35.73 kB / 458.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.308, allocations: 8 kB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3082, allocations: 35.91 kB / 458.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3084, allocations: 51.91 kB / 458.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3084, allocations: 12 kB / 458.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.3086, allocations: 215.1 kB / 458.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3086, allocations: 0 / 458.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005895/0.3092, allocations: 155.7 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.3103, allocations: 0.9006 MB / 459.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.3115, allocations: 0.7062 MB / 460.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3115, allocations: 0 / 460.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.3123, allocations: 0.5813 MB / 460.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3126, allocations: 56.78 kB / 460.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.3179, allocations: 3.489 MB / 464.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3183, allocations: 0.8079 MB / 465.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.3185, allocations: 47.05 kB / 465.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3187, allocations: 143.4 kB / 465.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3187, allocations: 0 / 465.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.3639, allocations: 9.508 MB / 474.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.51, allocations: 4.062 kB / 474.8 MB, free: 10.35 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.csv --start-time 0 --stop-time 2e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-10 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.97109775710851] Failed to read output from testmodel.py, exit status != 0: ['time', 'line1.v1', 'line1.v2', 'line1.i1', 'line1.i2', 'line2.v1', 'line2.v2', 'line2.i1', 'line2.i2', 'line3.v1', 'line3.v2', 'line3.i1', 'line3.i2'] 10.602062417194247 10.623817638 10.335741907 Calling exit ...