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.00157/0.00157, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002092/0.002092, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002685/0.002685, allocations: 60.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2578, allocations: 53.38 MB / 432 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00513/0.2629, allocations: 3.647 MB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2648, allocations: 0.8998 MB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.265, allocations: 8 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2652, allocations: 75.22 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.2656, allocations: 150.7 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.2661, allocations: 195.7 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.2668, allocations: 0.6077 MB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.2671, allocations: 166.5 kB / 437.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.2674, allocations: 259.1 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.2678, allocations: 286.8 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.2679, allocations: 56 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.268, allocations: 56 kB / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2681, allocations: 135.5 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.2684, allocations: 270.8 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.2691, allocations: 0.6184 MB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2691, allocations: 4 kB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2691, allocations: 0 / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2691, allocations: 0 / 439.4 MB, free: 15.44 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.001575/0.2707, allocations: 0.7797 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2708, allocations: 12.02 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.2709, allocations: 94.66 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.271, allocations: 56.61 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.2715, allocations: 280.7 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.2715, allocations: 37.31 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.2716, allocations: 56.12 kB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.2725, allocations: 0.4984 MB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2725, allocations: 0 / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.2726, allocations: 24 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2726, allocations: 23.86 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.2733, allocations: 315.8 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.2757, allocations: 1.494 MB / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.2762, allocations: 194.5 kB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2765, allocations: 92.8 kB / 443.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2765, allocations: 3.938 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.277, allocations: 213.7 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.277, allocations: 0 / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001549/0.2785, allocations: 490.2 kB / 444 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.2787, allocations: 312.4 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.2791, allocations: 312.2 kB / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2791, allocations: 33.7 kB / 444.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.2793, allocations: 276.1 kB / 444.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.2794, allocations: 99.2 kB / 445 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.2795, allocations: 78.02 kB / 445.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2797, allocations: 338.8 kB / 445.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.2799, allocations: 100.7 kB / 445.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.2803, allocations: 269.2 kB / 445.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.2809, allocations: 331.1 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2809, allocations: 96 / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001208/0.2821, allocations: 0.5336 MB / 446.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.2821, allocations: 33.7 kB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2821, allocations: 4 kB / 446.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.2828, allocations: 166.4 kB / 446.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.283, allocations: 55.84 kB / 446.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/0.2875, allocations: 4.634 MB / 451.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.2879, allocations: 71.7 kB / 451.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.288, allocations: 12 kB / 451.6 MB, free: 2.348 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.0002484/0.2882, allocations: 161.7 kB / 451.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.2883, allocations: 35.81 kB / 451.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.2884, allocations: 39.02 kB / 451.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2884, allocations: 4 kB / 451.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.2884, allocations: 8 kB / 451.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2884, allocations: 3.984 kB / 451.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.2888, allocations: 396.3 kB / 452.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2888, allocations: 0 / 452.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.289, allocations: 35.97 kB / 452.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.2893, allocations: 103.3 kB / 452.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2894, allocations: 11.94 kB / 452.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.2938, allocations: 5.343 MB / 457.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2938, allocations: 0 / 457.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.2946, allocations: 365 kB / 458.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.2947, allocations: 35.73 kB / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.2947, allocations: 4 kB / 458.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.295, allocations: 35.97 kB / 458.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2951, allocations: 51.92 kB / 458.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.2951, allocations: 11.98 kB / 458.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.2954, allocations: 215.1 kB / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2954, allocations: 0 / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006061/0.296, allocations: 151.7 kB / 458.6 MB, free: 10.82 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.001188/0.2972, allocations: 0.9122 MB / 459.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.2986, allocations: 0.6945 MB / 460.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2986, allocations: 4 kB / 460.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.2994, allocations: 0.5735 MB / 460.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2997, allocations: 60.56 kB / 460.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.3052, allocations: 3.482 MB / 464.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.3057, allocations: 0.8158 MB / 465.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.3059, allocations: 38.95 kB / 465.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3061, allocations: 143.4 kB / 465.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3061, allocations: 0 / 465.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04482/0.3509, allocations: 9.509 MB / 474.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.72, allocations: 11.61 kB / 474.8 MB, free: 10.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --stepSize=1e-10 --timeout=50 --tolerance=1e-06 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: 13.106918004807085] 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.809445645660162 10.837190493 10.562925251 Calling exit ...