Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001305/0.001305, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001373/0.001373, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2333/0.2333, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002274/0.002274, allocations: 84.14 kB / 0.4917 GB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 66.03 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0112/0.1428, allocations: 9.476 MB / 0.5654 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.1484, allocations: 2.838 MB / 0.5682 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1494, allocations: 87.56 kB / 0.5683 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008048/0.1575, allocations: 3.783 MB / 0.5719 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.1613, allocations: 1.061 MB / 0.573 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.1633, allocations: 0.7827 MB / 0.5737 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.1692, allocations: 4.84 MB / 0.5785 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01269/0.1819, allocations: 9.334 MB / 0.5876 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.1864, allocations: 2.856 MB / 0.5904 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2596/0.4459, allocations: 3.139 MB / 0.5934 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.4483, allocations: 0.766 MB / 0.5942 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.4519, allocations: 0.9419 MB / 0.5951 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002449/0.4544, allocations: 1.6 MB / 0.5967 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006889/0.4612, allocations: 3.015 MB / 0.5996 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.4801, allocations: 10.49 MB / 0.6099 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4801, allocations: 4.469 kB / 0.6099 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4801, allocations: 0 / 0.6099 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003374/0.4805, allocations: 0 / 0.6099 GB, free: 10.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.02144/0.5019, allocations: 6.42 MB / 0.6161 GB, free: 7.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.502, allocations: 10.09 kB / 0.6161 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002957/0.5049, allocations: 0.8863 MB / 0.617 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02211/0.527, allocations: 3.927 MB / 0.6208 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/0.5342, allocations: 3.24 MB / 0.624 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.5346, allocations: 396.4 kB / 0.6244 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/0.5372, allocations: 0.5046 MB / 0.6249 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/0.5624, allocations: 8.726 MB / 0.6334 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.5626, allocations: 6.422 kB / 0.6334 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009501/0.5635, allocations: 213.7 kB / 0.6336 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.5639, allocations: 347.5 kB / 0.6339 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.582, allocations: 8.049 MB / 0.6418 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05109/0.6331, allocations: 27.83 MB / 0.669 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.6473, allocations: 10.03 MB / 0.6788 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.6502, allocations: 1.484 MB / 0.6802 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.6505, allocations: 231.7 kB / 0.6804 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.6505, allocations: 56.56 kB / 0.6805 GB, free: 14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 3.447e-06/0.6505, allocations: 0 / 0.6805 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.00603/0.6565, allocations: 3.528 MB / 0.6839 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.6566, allocations: 99.11 kB / 0.684 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/0.6621, allocations: 3.433 MB / 0.6874 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003261/0.6625, allocations: 61.7 kB / 0.6875 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.6643, allocations: 2.233 MB / 0.6896 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009854/0.6653, allocations: 0.7702 MB / 0.6904 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.6664, allocations: 0.7069 MB / 0.6911 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6666, allocations: 309.1 kB / 0.6914 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.6691, allocations: 1.564 MB / 0.6929 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.6731, allocations: 3.191 MB / 0.696 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007051/0.6802, allocations: 5.081 MB / 0.701 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.05e-05/0.6802, allocations: 16 kB / 0.701 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008961/0.6892, allocations: 4.965 MB / 0.7058 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.6892, allocations: 28 kB / 0.7059 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-05/0.6893, allocations: 56 kB / 0.7059 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.582e-05/0.6894, allocations: 76.19 kB / 0.706 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.6926, allocations: 0.9131 MB / 0.7069 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.694e-05/0.6927, allocations: 115.8 kB / 0.707 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.6955, allocations: 0.5741 MB / 0.7076 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.6959, allocations: 196 kB / 0.7077 GB, free: 1.172 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003612/0.6995, allocations: 2.084 MB / 0.7098 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005837/0.7001, allocations: 274.2 kB / 0.71 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005953/0.706, allocations: 3.183 MB / 0.7131 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.7061, allocations: 27.94 kB / 0.7132 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7061, allocations: 0.5625 kB / 0.7132 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/0.7061, allocations: 19.95 kB / 0.7132 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.7219, allocations: 8.653 MB / 0.7216 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.7219, allocations: 16 kB / 0.7217 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/0.724, allocations: 0.5633 MB / 0.7222 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/0.7241, allocations: 28.53 kB / 0.7222 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.7242, allocations: 78.59 kB / 0.7223 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/0.7243, allocations: 40.8 kB / 0.7223 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/0.7243, allocations: 29.89 kB / 0.7224 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.7319, allocations: 5.27 MB / 0.7275 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.7336, allocations: 0.7093 MB / 0.7282 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.734, allocations: 79.05 kB / 0.7283 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.7353, allocations: 115.9 kB / 0.7284 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.7357, allocations: 225.8 kB / 0.7286 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.7359, allocations: 95.98 kB / 0.7287 GB, free: 11.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004049/0.7399, allocations: 2.384 MB / 0.731 GB, free: 8.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7399, allocations: 0 / 0.731 GB, free: 8.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004499/0.7444, allocations: 1.106 MB / 0.7321 GB, free: 7.848 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008592/0.753, allocations: 5.951 MB / 0.7379 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006272/0.7593, allocations: 3.47 MB / 0.7413 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/0.7593, allocations: 8.062 kB / 0.7413 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.7619, allocations: 1.468 MB / 0.7428 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.7652, allocations: 0.5383 MB / 0.7433 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0631/0.8283, allocations: 37.67 MB / 0.7801 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004872/0.8332, allocations: 3.644 MB / 0.7836 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003593/0.8368, allocations: 1.472 MB / 0.7851 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/0.8398, allocations: 1.643 MB / 0.7867 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/0.8398, allocations: 0 / 0.7867 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3989/1.239, allocations: 74.93 MB / 0.8598 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.47, allocations: 5.5 kB / 0.8599 GB, free: 216.4 MB / 0.6387 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.550137028098106] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC[2]', 'iL[1]', 'iL[2]', 'vC[3]', 'vC[1]', 'iL[3]'] 16.580789936706424 16.599708483 16.115899004 Calling exit ...