Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.001748/0.001748, 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.002023/0.002023, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, 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.214/0.214, allocations: 46.92 MB / 357.7 MB, free: 10.29 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.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",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.002297/0.002297, allocations: 75.88 kB / 0.4917 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1275, allocations: 66.04 MB / 0.5562 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02281/0.1504, allocations: 19.85 MB / 0.5755 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1606, allocations: 4.978 MB / 0.5804 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.1638, allocations: 198.9 kB / 0.5806 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.1807, allocations: 7.835 MB / 0.5882 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.1887, allocations: 2.069 MB / 0.5903 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.1931, allocations: 1.395 MB / 0.5916 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2777/0.4708, allocations: 12.17 MB / 0.6035 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03503/0.5058, allocations: 20.27 MB / 0.6233 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/0.5192, allocations: 6.638 MB / 0.6298 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.5331, allocations: 7.282 MB / 0.6369 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005831/0.5389, allocations: 1.723 MB / 0.6386 GB, free: 3.516 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.55, allocations: 1.916 MB / 0.6405 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01083/0.5609, allocations: 4.095 MB / 0.6445 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01497/0.5758, allocations: 7.052 MB / 0.6513 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0308/0.6066, allocations: 23.68 MB / 0.6745 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.6066, allocations: 0 / 0.6745 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6067, allocations: 0 / 0.6745 GB, free: 2.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005941/0.6072, allocations: 0 / 0.6745 GB, free: 2.961 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04468/0.6519, allocations: 14.83 MB / 0.6889 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.652, allocations: 8.031 kB / 0.689 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007634/0.6596, allocations: 1.727 MB / 0.6906 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06156/0.7212, allocations: 11.17 MB / 0.7015 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01653/0.7377, allocations: 7.364 MB / 0.7087 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001311/0.739, allocations: 0.8869 MB / 0.7096 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007242/0.7463, allocations: 1.18 MB / 0.7108 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05039/0.7966, allocations: 18.6 MB / 0.7289 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005886/0.7972, allocations: 19.91 kB / 0.7289 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004305/0.8015, allocations: 0.4901 MB / 0.7294 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008114/0.8024, allocations: 0.6538 MB / 0.7301 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0444/0.8467, allocations: 19.14 MB / 0.7487 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1206/0.9674, allocations: 60.37 MB / 0.8077 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02358/0.9909, allocations: 16.12 MB / 0.8234 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007661/0.9986, allocations: 4.22 MB / 0.8276 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.9993, allocations: 390 kB / 0.8279 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.9994, allocations: 103.7 kB / 0.828 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 7.424e-06/0.9994, allocations: 0 / 0.828 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.5574/1.557, allocations: 12.46 MB / 0.8402 GB, free: 161.9 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.557, allocations: 121.3 kB / 0.8403 GB, free: 161.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/1.572, allocations: 8.609 MB / 0.8487 GB, free: 161.4 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.573, allocations: 132.5 kB / 0.8489 GB, free: 161.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003345/1.577, allocations: 4.609 MB / 0.8534 GB, free: 160.2 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/1.579, allocations: 2.298 MB / 0.8556 GB, free: 159 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/1.581, allocations: 1.469 MB / 0.857 GB, free: 158.9 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/1.581, allocations: 303.1 kB / 0.8573 GB, free: 158.6 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006313/1.588, allocations: 4.116 MB / 0.8613 GB, free: 157.4 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008061/1.596, allocations: 6.92 MB / 0.8681 GB, free: 152.5 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.61, allocations: 11.99 MB / 0.8798 GB, free: 145.6 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.61, allocations: 23 kB / 0.8798 GB, free: 145.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01982/1.63, allocations: 12.1 MB / 0.8916 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/1.63, allocations: 47.28 kB / 0.8917 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.63, allocations: 90.78 kB / 0.8918 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008629/1.631, allocations: 419.3 kB / 0.8922 GB, free: 141.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006874/1.638, allocations: 2.012 MB / 0.8941 GB, free: 141.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005141/1.643, allocations: 9.585 MB / 0.9035 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006983/1.65, allocations: 1.384 MB / 0.9048 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/1.651, allocations: 388.3 kB / 0.9052 GB, free: 132.2 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007021/1.658, allocations: 4.577 MB / 0.9097 GB, free: 130.2 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.659, allocations: 0.7382 MB / 0.9104 GB, free: 129.8 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.674, allocations: 10.6 MB / 0.9208 GB, free: 122.2 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/1.674, allocations: 68 kB / 0.9208 GB, free: 122.2 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.674, allocations: 7.609 kB / 0.9208 GB, free: 122.2 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.674, allocations: 37.19 kB / 0.9209 GB, free: 122.2 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1547/1.829, allocations: 161.4 MB / 1.079 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000245/1.829, allocations: 88 kB / 1.079 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006174/1.835, allocations: 1.552 MB / 1.08 GB, free: 5.309 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/1.836, allocations: 391.6 kB / 1.081 GB, free: 4.91 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/1.838, allocations: 255.9 kB / 1.081 GB, free: 4.66 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008702/1.846, allocations: 9.464 MB / 1.09 GB, free: 10.44 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-05/1.847, allocations: 134.7 kB / 1.09 GB, free: 10.34 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2887/2.135, allocations: 18.63 MB / 1.108 GB, free: 235.5 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005784/2.141, allocations: 2.068 MB / 1.11 GB, free: 235.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/2.143, allocations: 248 kB / 1.111 GB, free: 235.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006046/2.149, allocations: 0.5429 MB / 1.111 GB, free: 235.2 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/2.151, allocations: 0.7405 MB / 1.112 GB, free: 235.2 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007504/2.152, allocations: 319.6 kB / 1.112 GB, free: 235.2 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01347/2.165, allocations: 6.057 MB / 1.118 GB, free: 233.5 MB / 0.7013 GB Notification: Performance of sort global known variables: time 3.61e-07/2.165, allocations: 0 / 1.118 GB, free: 233.5 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01104/2.176, allocations: 2.645 MB / 1.121 GB, free: 233.1 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0234/2.199, allocations: 19.54 MB / 1.14 GB, free: 221.1 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01686/2.216, allocations: 10.32 MB / 1.15 GB, free: 217.3 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-05/2.216, allocations: 16.06 kB / 1.15 GB, free: 217.3 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.008154/2.225, allocations: 5.282 MB / 1.155 GB, free: 215.1 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/2.237, allocations: 1.495 MB / 1.156 GB, free: 214.6 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/2.387, allocations: 99.15 MB / 1.253 GB, free: 122.7 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/2.402, allocations: 7.778 MB / 1.261 GB, free: 114.9 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.008806/2.411, allocations: 3.566 MB / 1.264 GB, free: 111.3 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007372/2.418, allocations: 4.201 MB / 1.268 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of SimCode: time 1.954e-06/2.418, allocations: 0 / 1.268 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6052/3.023, allocations: 191.7 MB / 1.456 GB, free: 180.7 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.91/31.94, allocations: 6.219 kB / 1.456 GB, free: 180.7 MB / 0.7013 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_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_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 35.060462186113] Failed to read output from testmodel.py, exit status != 0: ['time', 'v[1].re', 'v[1].im', 'v[2].re', 'v[2].im', 'v[3].re', 'v[3].im'] 32.121928967069834 32.13171556 31.52260972 Calling exit ...