Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001837/0.001837, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001695/0.001695, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",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.001985/0.001985, allocations: 63.91 kB / 378.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009151/0.3243, allocations: 6.078 MB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.3284, allocations: 1.701 MB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009268/0.3293, allocations: 63.62 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.3301, allocations: 313.5 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.3316, allocations: 397.4 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.3324, allocations: 363.5 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.335, allocations: 2.013 MB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.3373, allocations: 1.603 MB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.3389, allocations: 1.071 MB / 445.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.3408, allocations: 1.218 MB / 446.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004218/0.3412, allocations: 312 kB / 447 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.3421, allocations: 0.5152 MB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007196/0.3428, allocations: 0.7402 MB / 448.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.3444, allocations: 1.264 MB / 449.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.3489, allocations: 3.808 MB / 453.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3489, allocations: 3.938 kB / 453.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3489, allocations: 0 / 453.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.349, allocations: 0 / 453.4 MB, free: 1.336 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005523/0.3546, allocations: 2.454 MB / 455.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3546, allocations: 8.031 kB / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004777/0.3551, allocations: 328.9 kB / 456.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.356, allocations: 275.4 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.3585, allocations: 1.277 MB / 457.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3586, allocations: 168.9 kB / 457.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.359, allocations: 223.9 kB / 458.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/0.3637, allocations: 2.538 MB / 460.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.3638, allocations: 0 / 460.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.364, allocations: 92 kB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-05/0.3641, allocations: 60 kB / 460.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.368, allocations: 2.134 MB / 462.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.3812, allocations: 7.362 MB / 470.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3823, allocations: 0.6941 MB / 470.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.3834, allocations: 0.5946 MB / 471.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.3835, allocations: 12.41 kB / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3835, allocations: 35.06 kB / 471.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.3835, allocations: 0 / 471.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004479/0.388, allocations: 2.379 MB / 474 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3881, allocations: 64.06 kB / 474 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3892, allocations: 0.8012 MB / 474.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.3893, allocations: 37.7 kB / 474.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007368/0.39, allocations: 0.9518 MB / 475.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.3902, allocations: 238 kB / 476 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.3904, allocations: 150.6 kB / 476.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.3907, allocations: 390.8 kB / 476.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.3913, allocations: 369.7 kB / 476.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.3921, allocations: 0.5752 MB / 477.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3936, allocations: 0.9911 MB / 478.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3936, allocations: 0 / 478.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002014/0.3956, allocations: 1.165 MB / 479.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.3956, allocations: 8 kB / 479.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.3956, allocations: 8 kB / 479.7 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.396, allocations: 109.1 kB / 479.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.3967, allocations: 171.7 kB / 480 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.3995, allocations: 2.214 MB / 482.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.4001, allocations: 39.97 kB / 482.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.4002, allocations: 32 kB / 482.2 MB, free: 3.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.4015, allocations: 0.6543 MB / 482.9 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.4017, allocations: 95.36 kB / 483 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.4019, allocations: 95.69 kB / 483.1 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.402, allocations: 8 kB / 483.1 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.402, allocations: 4 kB / 483.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.402, allocations: 3.984 kB / 483.1 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.4067, allocations: 2.637 MB / 485.7 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4067, allocations: 4.125 kB / 485.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4072, allocations: 99.88 kB / 485.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.4075, allocations: 100.7 kB / 485.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.4075, allocations: 28.02 kB / 486 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.4102, allocations: 2.171 MB / 488.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4102, allocations: 4.031 kB / 488.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.4127, allocations: 1.415 MB / 489.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.4132, allocations: 151.5 kB / 489.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.4134, allocations: 24 kB / 489.7 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.4139, allocations: 39.95 kB / 489.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.414, allocations: 52.34 kB / 489.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.4141, allocations: 16 kB / 489.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009644/0.415, allocations: 0.5654 MB / 490.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.415, allocations: 0 / 490.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001331/0.4164, allocations: 303.9 kB / 490.7 MB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002967/0.4193, allocations: 2.003 MB / 492.7 MB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.4213, allocations: 0.9645 MB / 493.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4213, allocations: 4.562 kB / 493.7 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.4223, allocations: 0.544 MB / 494.2 MB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.4236, allocations: 222.2 kB / 494.4 MB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/0.4429, allocations: 10.21 MB / 0.4928 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.4453, allocations: 1.724 MB / 0.4945 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006522/0.446, allocations: 203.1 kB / 0.4947 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009686/0.4469, allocations: 0.6438 MB / 0.4953 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4469, allocations: 3.938 kB / 0.4953 GB, free: 9.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0733/0.5202, allocations: 25.07 MB / 0.5198 GB, free: 1.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.95, allocations: 11.3 kB / 0.5198 GB, free: 1.145 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.511801179032773] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i'] 12.043758464977145 12.067155442 11.713874456 Calling exit ...