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.001477/0.001477, 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.001571/0.001571, 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.522/1.522, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.002031/0.002031, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2702/0.3835, allocations: 16.57 MB / 443.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3944, allocations: 4.158 MB / 447.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004299/0.3987, allocations: 161.5 kB / 447.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0188/0.4175, allocations: 7.491 MB / 455.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009083/0.4266, allocations: 1.337 MB / 456.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005373/0.432, allocations: 1.237 MB / 458 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01573/0.4477, allocations: 8.258 MB / 466.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03497/0.4827, allocations: 17.33 MB / 483.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.4931, allocations: 4.906 MB / 488.5 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5041, allocations: 5.35 MB / 493.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004872/0.509, allocations: 1.383 MB / 495.2 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007155/0.5162, allocations: 1.668 MB / 496.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006154/0.5223, allocations: 2.58 MB / 499.4 MB, free: 8.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0133/0.5356, allocations: 5.21 MB / 0.4928 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03161/0.5672, allocations: 18.36 MB / 0.5108 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.5672, allocations: 0 / 0.5108 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5672, allocations: 0 / 0.5108 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007409/0.568, allocations: 0 / 0.5108 GB, free: 0.7383 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.04039/0.6084, allocations: 10.63 MB / 0.5211 GB, free: 6.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.6084, allocations: 8.031 kB / 0.5212 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006362/0.6148, allocations: 1.294 MB / 0.5224 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02184/0.6366, allocations: 3.71 MB / 0.526 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.651, allocations: 5.384 MB / 0.5313 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000981/0.652, allocations: 0.6785 MB / 0.532 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/0.6563, allocations: 0.8878 MB / 0.5328 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03922/0.6956, allocations: 12.73 MB / 0.5453 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003532/0.6959, allocations: 11.95 kB / 0.5453 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003552/0.6995, allocations: 380 kB / 0.5456 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004787/0.6999, allocations: 403.1 kB / 0.546 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/0.7292, allocations: 11.43 MB / 0.5572 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08754/0.8167, allocations: 43.72 MB / 0.5999 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.8302, allocations: 10.28 MB / 0.6099 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.833, allocations: 1.523 MB / 0.6114 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.8333, allocations: 244 kB / 0.6116 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.8334, allocations: 60.56 kB / 0.6117 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 3.527e-06/0.8334, allocations: 0 / 0.6117 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009587/0.843, allocations: 4.684 MB / 0.6163 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.8431, allocations: 77.41 kB / 0.6163 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4929/1.336, allocations: 2.929 MB / 0.6192 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/1.336, allocations: 62.39 kB / 0.6193 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002532/1.339, allocations: 3.977 MB / 0.6231 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.34, allocations: 0.8235 MB / 0.6239 GB, free: 150 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/1.342, allocations: 0.9629 MB / 0.6249 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/1.342, allocations: 302.7 kB / 0.6252 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.345, allocations: 1.974 MB / 0.6271 GB, free: 149 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/1.35, allocations: 4.161 MB / 0.6312 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008605/1.358, allocations: 6.519 MB / 0.6375 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/1.359, allocations: 21.69 kB / 0.6376 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01291/1.371, allocations: 6.523 MB / 0.6439 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/1.372, allocations: 42.47 kB / 0.644 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.372, allocations: 74.34 kB / 0.644 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/1.373, allocations: 411.6 kB / 0.6444 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.377, allocations: 1.065 MB / 0.6455 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/1.381, allocations: 4.384 MB / 0.6498 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.386, allocations: 0.6311 MB / 0.6504 GB, free: 134.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008472/1.387, allocations: 251.4 kB / 0.6506 GB, free: 134.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.005902/1.392, allocations: 3.371 MB / 0.6539 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009471/1.393, allocations: 288.3 kB / 0.6542 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/1.399, allocations: 3.562 MB / 0.6577 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003481/1.403, allocations: 2.817 MB / 0.6604 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.403, allocations: 7.5 kB / 0.6604 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.403, allocations: 11.44 kB / 0.6604 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.418, allocations: 9.878 MB / 0.6701 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.418, allocations: 7.969 kB / 0.6701 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.419, allocations: 417.5 kB / 0.6705 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006877/1.42, allocations: 313.5 kB / 0.6708 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.42, allocations: 51.31 kB / 0.6708 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/1.424, allocations: 4.197 MB / 0.6749 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.424, allocations: 0 / 0.6749 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/1.43, allocations: 5.148 MB / 0.6799 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.431, allocations: 0.6196 MB / 0.6806 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/1.431, allocations: 47.94 kB / 0.6806 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.432, allocations: 123.8 kB / 0.6807 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.433, allocations: 161.8 kB / 0.6809 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.433, allocations: 63.98 kB / 0.6809 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002369/1.435, allocations: 1.966 MB / 0.6829 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.435, allocations: 0 / 0.6829 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005079/1.44, allocations: 1.988 MB / 0.6848 GB, free: 113.9 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.00644/1.447, allocations: 5.799 MB / 0.6905 GB, free: 108 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006262/1.453, allocations: 4.445 MB / 0.6948 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.453, allocations: 1.812 kB / 0.6948 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.455, allocations: 1.62 MB / 0.6964 GB, free: 102 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/1.458, allocations: 0.6698 MB / 0.697 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/1.517, allocations: 40.14 MB / 0.7362 GB, free: 58.55 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006598/1.523, allocations: 5.642 MB / 0.7417 GB, free: 52.87 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003605/1.527, allocations: 1.694 MB / 0.7434 GB, free: 51.17 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003636/1.53, allocations: 2.737 MB / 0.7461 GB, free: 48.44 MB / 0.5138 GB Notification: Performance of SimCode: time 1.713e-06/1.53, allocations: 4 kB / 0.7461 GB, free: 48.43 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/1.935, allocations: 90.81 MB / 0.8348 GB, free: 155.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.57, allocations: 11.81 kB / 0.8348 GB, free: 155.8 MB / 0.545 GB " [Timeout remaining time 640] (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: 22.277351403608918] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma'] 19.697603224776685 19.717174286 19.145861599 Calling exit ...