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.001634/0.001634, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001979/0.001979, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.459/1.459, allocations: 227.5 MB / 251.7 MB, free: 248 kB / 190.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.2212/0.2212, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.00226/0.002261, allocations: 81.53 kB / 489.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1148, allocations: 62.46 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01117/0.126, allocations: 9.436 MB / 0.5484 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.1323, allocations: 2.823 MB / 0.5512 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.134, allocations: 75.75 kB / 0.5513 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008459/0.1425, allocations: 3.745 MB / 0.5549 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.1468, allocations: 1.056 MB / 0.5559 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.149, allocations: 0.7824 MB / 0.5567 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006567/0.1556, allocations: 4.836 MB / 0.5614 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01973/0.1754, allocations: 11.98 MB / 0.5731 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.1806, allocations: 2.802 MB / 0.5759 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005972/0.1867, allocations: 3.111 MB / 0.5789 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.1887, allocations: 0.7695 MB / 0.5797 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.1915, allocations: 0.9295 MB / 0.5806 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.1938, allocations: 1.606 MB / 0.5821 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006051/0.1999, allocations: 3.012 MB / 0.5851 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.2161, allocations: 10.49 MB / 0.5953 GB, free: 11.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.2162, allocations: 4 kB / 0.5953 GB, free: 11.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2162, allocations: 0 / 0.5953 GB, free: 11.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004336/0.2167, allocations: 0 / 0.5953 GB, free: 11.06 MB / 462.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.02083/0.2375, allocations: 6.415 MB / 0.6016 GB, free: 4.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.2376, allocations: 12.02 kB / 0.6016 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/0.2398, allocations: 0.8844 MB / 0.6025 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3111/0.5509, allocations: 3.922 MB / 0.6063 GB, free: 52.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007776/0.5587, allocations: 3.245 MB / 0.6095 GB, free: 51.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.5592, allocations: 393.3 kB / 0.6098 GB, free: 51.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.5614, allocations: 0.4968 MB / 0.6103 GB, free: 51.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.5814, allocations: 8.727 MB / 0.6188 GB, free: 48.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.5816, allocations: 14.47 kB / 0.6189 GB, free: 48.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008943/0.5825, allocations: 216 kB / 0.6191 GB, free: 48.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004179/0.5829, allocations: 347 kB / 0.6194 GB, free: 48.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.599, allocations: 8.048 MB / 0.6272 GB, free: 45.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03568/0.6347, allocations: 27.83 MB / 0.6544 GB, free: 22.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.6449, allocations: 10.21 MB / 0.6644 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.647, allocations: 1.595 MB / 0.666 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.6472, allocations: 231.5 kB / 0.6662 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6473, allocations: 56.55 kB / 0.6662 GB, free: 8.703 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 3.887e-06/0.6473, allocations: 3.688 kB / 0.6662 GB, free: 8.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.004611/0.6519, allocations: 3.527 MB / 0.6697 GB, free: 5.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.652, allocations: 103.1 kB / 0.6698 GB, free: 5.051 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.6557, allocations: 3.434 MB / 0.6731 GB, free: 1.629 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6559, allocations: 57.7 kB / 0.6732 GB, free: 1.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.6571, allocations: 2.238 MB / 0.6754 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000741/0.6578, allocations: 0.7679 MB / 0.6761 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.6589, allocations: 0.7108 MB / 0.6768 GB, free: 13.85 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.659, allocations: 301.1 kB / 0.6771 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.6615, allocations: 1.564 MB / 0.6786 GB, free: 11.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003942/0.6655, allocations: 3.197 MB / 0.6817 GB, free: 8.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/0.6724, allocations: 5.072 MB / 0.6867 GB, free: 2.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.6725, allocations: 16 kB / 0.6867 GB, free: 2.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00867/0.6812, allocations: 4.965 MB / 0.6916 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.6812, allocations: 33.88 kB / 0.6916 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-05/0.6813, allocations: 52 kB / 0.6916 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.489e-05/0.6814, allocations: 84.53 kB / 0.6917 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.6845, allocations: 0.9164 MB / 0.6926 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-05/0.6847, allocations: 115.6 kB / 0.6927 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.6872, allocations: 0.5663 MB / 0.6933 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.6876, allocations: 203.9 kB / 0.6935 GB, free: 11.23 MB / 494.1 MB 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.003296/0.6909, allocations: 2.077 MB / 0.6955 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.6914, allocations: 274.2 kB / 0.6958 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/0.6969, allocations: 3.183 MB / 0.6989 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.6969, allocations: 24 kB / 0.6989 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6969, allocations: 0 / 0.6989 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.697, allocations: 11.95 kB / 0.6989 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.7116, allocations: 8.671 MB / 0.7074 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.7117, allocations: 24.03 kB / 0.7074 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/0.7138, allocations: 0.5617 MB / 0.708 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.263e-05/0.7139, allocations: 30.91 kB / 0.708 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.714, allocations: 75.98 kB / 0.7081 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-05/0.7141, allocations: 35.86 kB / 0.7081 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-05/0.7141, allocations: 27.88 kB / 0.7081 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/0.7222, allocations: 5.272 MB / 0.7133 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.7237, allocations: 0.7093 MB / 0.714 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.7241, allocations: 63.98 kB / 0.714 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.7253, allocations: 123.9 kB / 0.7141 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/0.7257, allocations: 225.4 kB / 0.7144 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.7258, allocations: 91.98 kB / 0.7144 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003821/0.7296, allocations: 2.388 MB / 0.7168 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7297, allocations: 0 / 0.7168 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003571/0.7332, allocations: 1.118 MB / 0.7179 GB, free: 1.625 MB / 0.4981 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.008384/0.7416, allocations: 5.939 MB / 0.7237 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00618/0.7478, allocations: 3.577 MB / 0.7272 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.7479, allocations: 0 / 0.7272 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.7505, allocations: 1.566 MB / 0.7287 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.7536, allocations: 0.543 MB / 0.7292 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06025/0.8139, allocations: 37.69 MB / 0.766 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/0.818, allocations: 3.636 MB / 0.7696 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003369/0.8214, allocations: 1.476 MB / 0.771 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/0.8241, allocations: 1.64 MB / 0.7726 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.8241, allocations: 3.938 kB / 0.7726 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/1.234, allocations: 73.29 MB / 0.8442 GB, free: 196.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.56, allocations: 8.75 kB / 0.8442 GB, free: 196.5 MB / 0.6231 GB " [Timeout remaining time 645] (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: 17.680940753081813] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC[2]', 'iL[1]', 'iL[2]', 'vC[3]', 'vC[1]', 'iL[3]'] 14.659655292052776 14.672104895 14.453615034 Calling exit ...