Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001634/0.001634, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002235/0.002235, allocations: 208.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 59.91 kB / 378.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2596, allocations: 53.42 MB / 432 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004737/0.2644, allocations: 3.628 MB / 435.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2659, allocations: 0.8959 MB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.266, allocations: 8 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.2662, allocations: 83.2 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.2666, allocations: 150.7 kB / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.267, allocations: 195.7 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.2676, allocations: 0.6154 MB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.2679, allocations: 173 kB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2682, allocations: 243.2 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.2685, allocations: 290.8 kB / 438.3 MB, free: 364 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.2686, allocations: 56 kB / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.2687, allocations: 64 kB / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2688, allocations: 127.5 kB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.2691, allocations: 282.8 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.2697, allocations: 0.608 MB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2697, allocations: 0 / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2697, allocations: 0 / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2697, allocations: 3.938 kB / 439.4 MB, free: 15.22 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.00147/0.2712, allocations: 0.7797 MB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2712, allocations: 16.03 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.507e-05/0.2712, allocations: 13.19 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/0.2713, allocations: 90.7 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2714, allocations: 56.61 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.2719, allocations: 284.7 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2719, allocations: 37.38 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.272, allocations: 47.94 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.2729, allocations: 0.5139 MB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2729, allocations: 7.984 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.2729, allocations: 20 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.2729, allocations: 12 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.2736, allocations: 319.8 kB / 441.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.2759, allocations: 1.494 MB / 443.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.2764, allocations: 198.4 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.2766, allocations: 84.81 kB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2766, allocations: 7.984 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.277, allocations: 218.4 kB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.277, allocations: 0 / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001419/0.2784, allocations: 478.2 kB / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.2786, allocations: 316.4 kB / 444.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.279, allocations: 308.2 kB / 444.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.279, allocations: 33.7 kB / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2792, allocations: 284.1 kB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.2793, allocations: 91.22 kB / 445 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.2794, allocations: 82.02 kB / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2795, allocations: 338.8 kB / 445.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.2798, allocations: 96.69 kB / 445.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.2801, allocations: 265.2 kB / 445.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.2807, allocations: 335.5 kB / 446.1 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2807, allocations: 3.938 kB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001133/0.2818, allocations: 0.5336 MB / 446.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.2819, allocations: 37.64 kB / 446.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2819, allocations: 0 / 446.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.2825, allocations: 166.4 kB / 446.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2827, allocations: 51.91 kB / 446.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.2869, allocations: 4.634 MB / 451.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.2873, allocations: 63.83 kB / 451.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.2873, allocations: 23.98 kB / 451.6 MB, free: 2.113 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.0001996/0.2875, allocations: 165.8 kB / 451.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.2876, allocations: 35.75 kB / 451.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.2876, allocations: 39.08 kB / 451.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2876, allocations: 0 / 451.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2876, allocations: 4 kB / 451.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2876, allocations: 3.984 kB / 451.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.2881, allocations: 392.3 kB / 452.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2881, allocations: 4 kB / 452.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.2882, allocations: 35.91 kB / 452.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.2886, allocations: 107.3 kB / 452.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.2886, allocations: 3.984 kB / 452.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.2928, allocations: 5.347 MB / 457.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2928, allocations: 3.938 kB / 457.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.2936, allocations: 361 kB / 458.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2936, allocations: 31.75 kB / 458.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.2937, allocations: 11.98 kB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.294, allocations: 27.97 kB / 458.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2941, allocations: 55.92 kB / 458.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2941, allocations: 11.92 kB / 458.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.2944, allocations: 219.1 kB / 458.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2944, allocations: 0 / 458.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.2949, allocations: 147.7 kB / 458.6 MB, free: 10.58 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.001096/0.296, allocations: 0.9117 MB / 459.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.2972, allocations: 0.6947 MB / 460.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2972, allocations: 3.938 kB / 460.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.298, allocations: 0.5728 MB / 460.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2983, allocations: 65.88 kB / 460.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.3037, allocations: 3.494 MB / 464.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.3041, allocations: 0.8118 MB / 465.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.3043, allocations: 38.91 kB / 465.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3045, allocations: 151.4 kB / 465.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3045, allocations: 0 / 465.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.3468, allocations: 9.577 MB / 474.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.2, allocations: 11.09 kB / 474.9 MB, free: 10.07 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --stepSize=1e-10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.557887874019798] 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'] 12.360067875997629 12.375508709 12.102685386 Calling exit ...