Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.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.001348/0.001348, allocations: 118.9 kB / 18.46 MB, free: 4.566 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.001369/0.001369, allocations: 214.5 kB / 21.41 MB, free: 1.617 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: 227.7 MB / 251.9 MB, free: 15.89 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_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.001875/0.001875, allocations: 71.83 kB / 365.2 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 50.54 MB / 415.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01941/0.1237, allocations: 16.51 MB / 432.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1337, allocations: 4.145 MB / 436.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.1371, allocations: 135.6 kB / 436.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01769/0.1548, allocations: 7.434 MB / 444 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2304/0.3852, allocations: 1.318 MB / 445.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.3908, allocations: 1.231 MB / 446.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.4039, allocations: 8.246 MB / 454.8 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03466/0.4387, allocations: 22.53 MB / 477.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009143/0.4479, allocations: 4.816 MB / 482.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.4588, allocations: 5.322 MB / 487.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00406/0.4629, allocations: 1.383 MB / 488.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006433/0.4693, allocations: 1.667 MB / 490.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005204/0.4745, allocations: 2.586 MB / 493.1 MB, free: 3.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01537/0.4899, allocations: 5.607 MB / 498.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02745/0.5174, allocations: 18.36 MB / 0.5049 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5175, allocations: 0 / 0.5049 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5175, allocations: 0 / 0.5049 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005053/0.518, allocations: 0 / 0.5049 GB, free: 13.49 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03484/0.5529, allocations: 10.63 MB / 0.5153 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.553, allocations: 8.031 kB / 0.5153 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005175/0.5581, allocations: 1.296 MB / 0.5166 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/0.5784, allocations: 3.71 MB / 0.5202 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.5898, allocations: 5.37 MB / 0.5255 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007038/0.5906, allocations: 0.6822 MB / 0.5261 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003176/0.5938, allocations: 0.8893 MB / 0.527 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/0.6256, allocations: 12.74 MB / 0.5394 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/0.6259, allocations: 11.94 kB / 0.5394 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/0.6283, allocations: 377.9 kB / 0.5398 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.6287, allocations: 402.6 kB / 0.5402 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/0.6545, allocations: 11.43 MB / 0.5514 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07782/0.7324, allocations: 43.72 MB / 0.594 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.7453, allocations: 10.51 MB / 0.6043 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.7481, allocations: 1.684 MB / 0.606 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.7484, allocations: 229.8 kB / 0.6062 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.7485, allocations: 56.56 kB / 0.6062 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 3.997e-06/0.7485, allocations: 0 / 0.6062 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.01045/0.759, allocations: 4.696 MB / 0.6108 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.7591, allocations: 77.41 kB / 0.6109 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/0.7641, allocations: 2.926 MB / 0.6137 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.7644, allocations: 61.7 kB / 0.6138 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003065/0.7675, allocations: 3.979 MB / 0.6177 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009683/0.7685, allocations: 0.8309 MB / 0.6185 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.7699, allocations: 0.9644 MB / 0.6194 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7701, allocations: 305.1 kB / 0.6197 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/0.7732, allocations: 1.971 MB / 0.6217 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4592/1.232, allocations: 4.159 MB / 0.6257 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007062/1.24, allocations: 6.523 MB / 0.6321 GB, free: 147.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.352e-05/1.24, allocations: 21.75 kB / 0.6321 GB, free: 147.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01292/1.253, allocations: 6.533 MB / 0.6385 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/1.253, allocations: 37.19 kB / 0.6385 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.253, allocations: 75.72 kB / 0.6386 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009864/1.254, allocations: 401.7 kB / 0.639 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/1.257, allocations: 1.069 MB / 0.64 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/1.262, allocations: 4.384 MB / 0.6443 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.266, allocations: 0.6324 MB / 0.6449 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006581/1.267, allocations: 249.1 kB / 0.6452 GB, free: 144.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006487/1.273, allocations: 3.368 MB / 0.6485 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008529/1.274, allocations: 284.5 kB / 0.6487 GB, free: 143 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006625/1.281, allocations: 3.584 MB / 0.6522 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003715/1.285, allocations: 2.823 MB / 0.655 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.285, allocations: 4.312 kB / 0.655 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/1.285, allocations: 9.328 kB / 0.655 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.299, allocations: 9.884 MB / 0.6646 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.299, allocations: 1.938 kB / 0.6646 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.301, allocations: 423.7 kB / 0.6651 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006791/1.302, allocations: 316.8 kB / 0.6654 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.302, allocations: 51.98 kB / 0.6654 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/1.306, allocations: 4.198 MB / 0.6695 GB, free: 134 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.306, allocations: 7.734 kB / 0.6695 GB, free: 134 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/1.312, allocations: 5.145 MB / 0.6745 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.313, allocations: 0.6233 MB / 0.6751 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/1.313, allocations: 43.69 kB / 0.6752 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.314, allocations: 129 kB / 0.6753 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.315, allocations: 153.3 kB / 0.6755 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.315, allocations: 67.12 kB / 0.6755 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002438/1.317, allocations: 1.963 MB / 0.6774 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.31e-07/1.317, allocations: 0 / 0.6774 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005232/1.322, allocations: 1.986 MB / 0.6794 GB, free: 130.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006449/1.329, allocations: 5.807 MB / 0.685 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006185/1.335, allocations: 4.64 MB / 0.6896 GB, free: 122.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.335, allocations: 0 / 0.6896 GB, free: 122.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/1.337, allocations: 1.745 MB / 0.6913 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.34, allocations: 0.6834 MB / 0.6919 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05377/1.394, allocations: 40.15 MB / 0.7312 GB, free: 76.88 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00554/1.399, allocations: 5.643 MB / 0.7367 GB, free: 71.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003381/1.403, allocations: 1.689 MB / 0.7383 GB, free: 69.51 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/1.406, allocations: 2.745 MB / 0.741 GB, free: 66.77 MB / 0.5138 GB Notification: Performance of SimCode: time 1.392e-06/1.406, allocations: 0 / 0.741 GB, free: 66.77 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.536, allocations: 89.28 MB / 0.8282 GB, free: 9.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.74, allocations: 7.453 kB / 0.8282 GB, free: 9.848 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.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_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.592406685929745] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma'] 18.097744078026153 18.111226454 17.591247334 Calling exit ...