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.001491/0.001491, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001401/0.001401, allocations: 221.2 kB / 23 MB, free: 5.582 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.398/1.398, allocations: 230.5 MB / 256.5 MB, free: 8.238 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.002174/0.002174, allocations: 71.83 kB / 376.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2692, allocations: 53.32 MB / 429.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005374/0.2746, allocations: 3.628 MB / 433.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2766, allocations: 0.8959 MB / 434.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.2768, allocations: 11.94 kB / 434.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.277, allocations: 79.2 kB / 434.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.2775, allocations: 146.8 kB / 434.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2779, allocations: 199.7 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.2786, allocations: 0.6155 MB / 435.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.2789, allocations: 164.8 kB / 435.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.2792, allocations: 243.2 kB / 435.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.2795, allocations: 278.8 kB / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.2796, allocations: 60 kB / 435.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.2797, allocations: 56 kB / 435.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2798, allocations: 139.5 kB / 436.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.2801, allocations: 266.8 kB / 436.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.2807, allocations: 0.6267 MB / 436.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2807, allocations: 0 / 436.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2807, allocations: 4 kB / 437 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.2807, allocations: 4 kB / 437 MB, free: 15.94 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.001551/0.2823, allocations: 0.8511 MB / 437.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2823, allocations: 8.031 kB / 437.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.2824, allocations: 90.64 kB / 437.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2825, allocations: 60.61 kB / 438 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.2831, allocations: 346.5 kB / 438.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.2831, allocations: 37.38 kB / 438.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2832, allocations: 44.12 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.2841, allocations: 0.514 MB / 438.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2841, allocations: 4 kB / 438.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2841, allocations: 16 kB / 438.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2841, allocations: 15.94 kB / 438.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.2848, allocations: 315.8 kB / 439.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.2871, allocations: 1.55 MB / 440.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.2876, allocations: 202.4 kB / 441 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2878, allocations: 84.81 kB / 441.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2878, allocations: 4 kB / 441.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.2882, allocations: 209.7 kB / 441.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.2882, allocations: 4 kB / 441.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001561/0.2898, allocations: 0.7694 MB / 442 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.29, allocations: 324.4 kB / 442.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.2903, allocations: 303 kB / 442.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2904, allocations: 33.7 kB / 442.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2906, allocations: 280.1 kB / 443 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.2907, allocations: 91.22 kB / 443.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2908, allocations: 82.02 kB / 443.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2909, allocations: 342.8 kB / 443.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.2912, allocations: 100.7 kB / 443.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.2916, allocations: 265.4 kB / 443.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.2921, allocations: 331.1 kB / 444.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.2921, allocations: 0 / 444.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001149/0.2933, allocations: 0.5296 MB / 444.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.2933, allocations: 32.52 kB / 444.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2933, allocations: 4 kB / 444.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.2939, allocations: 182.4 kB / 444.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.2941, allocations: 51.84 kB / 444.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.2986, allocations: 4.93 MB / 449.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.299, allocations: 71.7 kB / 449.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2991, allocations: 12 kB / 450 MB, free: 1.883 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.0002434/0.2993, allocations: 166 kB / 450.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.2994, allocations: 31.91 kB / 450.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.909e-05/0.2994, allocations: 50.86 kB / 450.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2994, allocations: 4 kB / 450.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2994, allocations: 0 / 450.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2995, allocations: 0 / 450.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.2999, allocations: 425.2 kB / 450.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2999, allocations: 0 / 450.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.3001, allocations: 35.92 kB / 450.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.3004, allocations: 107.3 kB / 450.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.3004, allocations: 15.92 kB / 450.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/0.3048, allocations: 5.757 MB / 456.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3048, allocations: 0 / 456.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.3056, allocations: 365 kB / 456.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.3057, allocations: 108.8 kB / 457 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3057, allocations: 8 kB / 457 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.306, allocations: 31.97 kB / 457 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3061, allocations: 55.88 kB / 457.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3062, allocations: 8 kB / 457.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.3064, allocations: 217.9 kB / 457.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3064, allocations: 0 / 457.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.307, allocations: 151.7 kB / 457.5 MB, free: 9.699 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.001111/0.3081, allocations: 0.9082 MB / 458.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3093, allocations: 0.6982 MB / 459.1 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3093, allocations: 0 / 459.1 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.3101, allocations: 0.5774 MB / 459.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3104, allocations: 51.5 kB / 459.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.3156, allocations: 3.507 MB / 463.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.316, allocations: 0.8079 MB / 464 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.3162, allocations: 42.95 kB / 464 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3164, allocations: 147.4 kB / 464.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3164, allocations: 0 / 464.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.3618, allocations: 9.31 MB / 473.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.22, allocations: 4.062 kB / 473.5 MB, free: 9.445 MB / 382.1 MB " [Timeout remaining time 650] (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 --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --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: 12.425423662993126] Failed to read output from testmodel.py, exit status != 0: 10.309761946002254 10.337072455 10.051255999 Calling exit ...