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.00131/0.00131, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001354/0.001354, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.483/1.483, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.00199/0.00199, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2499/0.3671, allocations: 6.049 MB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.3708, allocations: 1.69 MB / 434.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.3717, allocations: 61.19 kB / 434.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.3724, allocations: 316.7 kB / 435.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.3739, allocations: 371.1 kB / 435.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.3747, allocations: 360.8 kB / 435.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.3772, allocations: 2.016 MB / 437.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3799, allocations: 2.023 MB / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.382, allocations: 1.074 MB / 440.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.3839, allocations: 1.223 MB / 442.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.3844, allocations: 310 kB / 442.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.3854, allocations: 472.5 kB / 442.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.386, allocations: 0.7324 MB / 443.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3875, allocations: 1.266 MB / 444.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.3928, allocations: 3.813 MB / 448.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3928, allocations: 1.875 kB / 448.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3928, allocations: 1.125 kB / 448.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.3929, allocations: 0 / 448.7 MB, free: 1.789 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.005476/0.3984, allocations: 2.53 MB / 451.3 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3984, allocations: 9.469 kB / 451.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004566/0.3989, allocations: 323.5 kB / 451.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3999, allocations: 277.4 kB / 451.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.4022, allocations: 1.337 MB / 453.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4024, allocations: 168.1 kB / 453.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.4027, allocations: 220 kB / 453.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.4074, allocations: 2.544 MB / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.4075, allocations: 0 / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.4077, allocations: 97.88 kB / 456.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.4078, allocations: 56.16 kB / 456.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.4115, allocations: 2.142 MB / 458.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.4245, allocations: 7.51 MB / 465.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4261, allocations: 1.217 MB / 467.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4273, allocations: 0.5954 MB / 467.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.4274, allocations: 7.375 kB / 467.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4274, allocations: 38.31 kB / 467.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 5.309e-06/0.4274, allocations: 4 kB / 467.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00494/0.4324, allocations: 2.449 MB / 470.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4324, allocations: 63.12 kB / 470.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4337, allocations: 0.8069 MB / 471.1 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.4338, allocations: 36.45 kB / 471.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.4346, allocations: 0.9397 MB / 472.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.4349, allocations: 240.8 kB / 472.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.4351, allocations: 140.4 kB / 472.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.4354, allocations: 400.8 kB / 472.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.436, allocations: 367.8 kB / 473.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008103/0.4368, allocations: 0.5755 MB / 473.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.4383, allocations: 0.9893 MB / 474.8 MB, free: 304 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4383, allocations: 8 kB / 474.8 MB, free: 296 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002072/0.4403, allocations: 1.151 MB / 475.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4404, allocations: 8 kB / 475.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.4404, allocations: 8.5 kB / 476 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.4407, allocations: 108.8 kB / 476.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.4414, allocations: 171.7 kB / 476.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.4439, allocations: 2.33 MB / 478.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.4445, allocations: 35.97 kB / 478.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.4446, allocations: 40.05 kB / 478.6 MB, free: 12.29 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.001244/0.4458, allocations: 0.6522 MB / 479.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.446, allocations: 87.44 kB / 479.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4463, allocations: 101.6 kB / 479.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/0.4463, allocations: 11.98 kB / 479.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.4463, allocations: 3.938 kB / 479.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.4463, allocations: 3.984 kB / 479.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.4511, allocations: 2.659 MB / 482.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4511, allocations: 4 kB / 482.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.4515, allocations: 111.9 kB / 482.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.4518, allocations: 100.9 kB / 482.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4518, allocations: 17.41 kB / 482.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.4542, allocations: 2.255 MB / 484.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4542, allocations: 0 / 484.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.4565, allocations: 1.428 MB / 486.1 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.4569, allocations: 236.5 kB / 486.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.457, allocations: 12.28 kB / 486.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.4574, allocations: 39.95 kB / 486.3 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4575, allocations: 56.38 kB / 486.4 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.4576, allocations: 23.92 kB / 486.4 MB, free: 4.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008242/0.4584, allocations: 0.5653 MB / 487 MB, free: 3.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4584, allocations: 4 kB / 487 MB, free: 3.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001316/0.4597, allocations: 300 kB / 487.3 MB, free: 3.359 MB / 382.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.002758/0.4625, allocations: 2.004 MB / 489.3 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.4643, allocations: 0.9604 MB / 490.2 MB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4643, allocations: 4.062 kB / 490.2 MB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.4653, allocations: 0.5327 MB / 490.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4665, allocations: 223.9 kB / 491 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.4833, allocations: 10.17 MB / 0.4894 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.485, allocations: 1.727 MB / 0.4911 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.4856, allocations: 205.8 kB / 0.4913 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.4865, allocations: 0.6438 MB / 0.4919 GB, free: 2.445 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4865, allocations: 0 / 0.4919 GB, free: 2.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.5499, allocations: 24.51 MB / 0.5159 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.76, allocations: 7.797 kB / 0.5159 GB, free: 10.2 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.35183852026239] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i'] 11.859818199649453 11.884042181 11.486233194 Calling exit ...