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.00126/0.00126, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001579/0.001579, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.425/1.425, allocations: 230.5 MB / 254.7 MB, free: 15 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.002046/0.002046, allocations: 71.88 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.114, allocations: 53.32 MB / 426.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006981/0.1209, allocations: 3.616 MB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1235, allocations: 0.8959 MB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1239, allocations: 7.938 kB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.1243, allocations: 79.22 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.1251, allocations: 150.7 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2365/0.3616, allocations: 192.9 kB / 431.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.3626, allocations: 0.6162 MB / 432.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.363, allocations: 164.7 kB / 432.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.3634, allocations: 239 kB / 432.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3637, allocations: 291.2 kB / 433.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.3638, allocations: 56.81 kB / 433.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.3639, allocations: 58.12 kB / 433.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.3639, allocations: 125.8 kB / 433.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3641, allocations: 279.9 kB / 433.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.3647, allocations: 0.6179 MB / 434.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3647, allocations: 0 / 434.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3647, allocations: 1 kB / 434.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3647, allocations: 0 / 434.3 MB, free: 7.363 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.001334/0.366, allocations: 0.8544 MB / 435.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3661, allocations: 9.688 kB / 435.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.3662, allocations: 87.39 kB / 435.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.3662, allocations: 60.89 kB / 435.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.3667, allocations: 343.7 kB / 435.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.3667, allocations: 34.81 kB / 435.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3668, allocations: 51.58 kB / 435.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.3676, allocations: 0.518 MB / 436.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3676, allocations: 1.094 kB / 436.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.3676, allocations: 20.02 kB / 436.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3676, allocations: 12.06 kB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.3682, allocations: 314.6 kB / 436.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3704, allocations: 1.552 MB / 438.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.3709, allocations: 193.3 kB / 438.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.3711, allocations: 90.16 kB / 438.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3711, allocations: 2.5 kB / 438.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.3715, allocations: 219.5 kB / 438.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.694e-06/0.3715, allocations: 0 / 438.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001417/0.3729, allocations: 0.7748 MB / 439.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.373, allocations: 314.7 kB / 439.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3733, allocations: 308.3 kB / 440 MB, free: 4.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3733, allocations: 33.5 kB / 440 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3734, allocations: 276.8 kB / 440.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.3735, allocations: 95.41 kB / 440.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3736, allocations: 83.45 kB / 440.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.3737, allocations: 343.2 kB / 440.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3739, allocations: 95.69 kB / 440.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3742, allocations: 260.2 kB / 441.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3746, allocations: 335.3 kB / 441.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3746, allocations: 0 / 441.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001005/0.3756, allocations: 0.5312 MB / 442 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3756, allocations: 38.09 kB / 442.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3756, allocations: 4.438 kB / 442.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.3762, allocations: 167.2 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3764, allocations: 48.77 kB / 442.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.3801, allocations: 4.936 MB / 447.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.3805, allocations: 61.83 kB / 447.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3806, allocations: 16 kB / 447.3 MB, free: 14.09 MB / 366.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.0002394/0.3808, allocations: 166.6 kB / 447.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.3809, allocations: 33.7 kB / 447.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.3809, allocations: 36.88 kB / 447.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3809, allocations: 8.516 kB / 447.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3809, allocations: 1.281 kB / 447.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3809, allocations: 1.828 kB / 447.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.3814, allocations: 424.3 kB / 447.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3814, allocations: 1.594 kB / 447.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3816, allocations: 40.77 kB / 448 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.3819, allocations: 102.3 kB / 448.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3819, allocations: 9.703 kB / 448.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3864, allocations: 5.762 MB / 453.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3864, allocations: 0.875 kB / 453.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.3873, allocations: 357 kB / 454.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3874, allocations: 116.8 kB / 454.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.3874, allocations: 10.78 kB / 454.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3877, allocations: 31.66 kB / 454.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.3878, allocations: 51.91 kB / 454.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.3878, allocations: 8.5 kB / 454.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.3881, allocations: 218.6 kB / 454.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3881, allocations: 4 kB / 454.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006433/0.3887, allocations: 147.1 kB / 454.8 MB, free: 7.273 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.001126/0.3899, allocations: 0.9131 MB / 455.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3912, allocations: 0.6966 MB / 456.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3912, allocations: 1.844 kB / 456.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.3919, allocations: 0.5737 MB / 457 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3923, allocations: 55.56 kB / 457 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.3977, allocations: 3.505 MB / 460.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.3982, allocations: 0.8092 MB / 461.3 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.3984, allocations: 41.78 kB / 461.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3986, allocations: 143.9 kB / 461.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3986, allocations: 0 / 461.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.4421, allocations: 9.309 MB / 470.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.54, allocations: 9.531 kB / 470.8 MB, free: 15.03 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 --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: 12.771701363380998] Failed to read output from testmodel.py, exit status != 0: 10.620155402924865 10.632878553 10.265234697 Calling exit ...