Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001855/0.001855, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002222/0.002222, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2321/0.2321, allocations: 46.92 MB / 361.6 MB, free: 4.215 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.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",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.002268/0.002268, allocations: 88.14 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3298, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02541/0.3552, allocations: 22.86 MB / 0.5838 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3674, allocations: 5.549 MB / 0.5893 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/0.3715, allocations: 234.8 kB / 0.5895 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02242/0.394, allocations: 9.578 MB / 0.5988 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009311/0.4033, allocations: 2.206 MB / 0.601 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.4094, allocations: 1.948 MB / 0.6029 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01864/0.428, allocations: 14.55 MB / 0.6171 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0367/0.4647, allocations: 21.29 MB / 0.6379 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.4788, allocations: 8.156 MB / 0.6459 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.4933, allocations: 8.803 MB / 0.6545 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005859/0.4991, allocations: 2.098 MB / 0.6565 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/0.5075, allocations: 2.351 MB / 0.6588 GB, free: 224 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008006/0.5155, allocations: 4.333 MB / 0.663 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01523/0.5307, allocations: 8.439 MB / 0.6713 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03612/0.5668, allocations: 28.78 MB / 0.6994 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5668, allocations: 0 / 0.6994 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5668, allocations: 0 / 0.6994 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006493/0.5675, allocations: 0 / 0.6994 GB, free: 6.531 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05546/0.6229, allocations: 18.94 MB / 0.7179 GB, free: 3.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.623, allocations: 8.031 kB / 0.7179 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006674/0.6296, allocations: 2.013 MB / 0.7198 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06026/0.6899, allocations: 11.48 MB / 0.7311 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5139/1.204, allocations: 9.037 MB / 0.7399 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/1.205, allocations: 1.061 MB / 0.7409 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004819/1.21, allocations: 1.369 MB / 0.7423 GB, free: 128.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04962/1.259, allocations: 23.64 MB / 0.7653 GB, free: 119.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004532/1.26, allocations: 18.7 kB / 0.7654 GB, free: 119.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005146/1.265, allocations: 0.5694 MB / 0.7659 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007373/1.266, allocations: 0.6998 MB / 0.7666 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/1.304, allocations: 21.75 MB / 0.7878 GB, free: 96.74 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09663/1.401, allocations: 69.74 MB / 0.8559 GB, free: 26.72 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/1.415, allocations: 11.41 MB / 0.8671 GB, free: 16.72 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005692/1.421, allocations: 4.508 MB / 0.8715 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02595/1.447, allocations: 15.28 MB / 0.8864 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/1.447, allocations: 86.09 kB / 0.8865 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.114e-06/1.447, allocations: 0 / 0.8865 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03867/1.485, allocations: 15.45 MB / 0.9016 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/1.486, allocations: 120.7 kB / 0.9017 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009442/1.495, allocations: 5.112 MB / 0.9067 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009175/1.496, allocations: 97.7 kB / 0.9068 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005426/1.501, allocations: 6.105 MB / 0.9127 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002682/1.504, allocations: 1.662 MB / 0.9144 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003433/1.507, allocations: 1.559 MB / 0.9159 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.508, allocations: 305.2 kB / 0.9162 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007469/1.515, allocations: 4.144 MB / 0.9202 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/1.527, allocations: 7.274 MB / 0.9273 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/1.545, allocations: 11.95 MB / 0.939 GB, free: 4.758 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.322e-05/1.545, allocations: 39.88 kB / 0.939 GB, free: 4.719 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02543/1.571, allocations: 13.08 MB / 0.9518 GB, free: 7.617 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/1.571, allocations: 55.94 kB / 0.9519 GB, free: 7.562 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.571, allocations: 108.2 kB / 0.952 GB, free: 7.457 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007094/1.578, allocations: 3.086 MB / 0.955 GB, free: 4.363 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/1.584, allocations: 1.603 MB / 0.9565 GB, free: 2.758 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/1.585, allocations: 339 kB / 0.9569 GB, free: 2.414 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/1.592, allocations: 1.071 MB / 0.9579 GB, free: 1.336 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.593, allocations: 391.9 kB / 0.9583 GB, free: 0.9531 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0118/1.605, allocations: 5.391 MB / 0.9635 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.607, allocations: 0.5239 MB / 0.9641 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/1.624, allocations: 9.541 MB / 0.9734 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/1.624, allocations: 55.92 kB / 0.9734 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.624, allocations: 0 / 0.9734 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-05/1.624, allocations: 23.92 kB / 0.9735 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3533/1.977, allocations: 20.87 MB / 0.9938 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.977, allocations: 1.75 kB / 0.9938 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.98, allocations: 0.7416 MB / 0.9946 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005613/1.986, allocations: 2.967 MB / 0.9975 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007552/1.987, allocations: 100.2 kB / 0.9976 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005733/1.987, allocations: 146.2 kB / 0.9977 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.987, allocations: 0 / 0.9977 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/2.006, allocations: 14.19 MB / 1.012 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/2.01, allocations: 1.367 MB / 1.013 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009739/2.011, allocations: 81.56 kB / 1.013 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/2.013, allocations: 360.3 kB / 1.013 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/2.014, allocations: 340.7 kB / 1.014 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.014, allocations: 137.4 kB / 1.014 GB, free: 213.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004469/2.019, allocations: 3.422 MB / 1.017 GB, free: 212.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/2.019, allocations: 0 / 1.017 GB, free: 212.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008486/2.027, allocations: 3.238 MB / 1.02 GB, free: 211.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02/2.047, allocations: 14.91 MB / 1.035 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0155/2.063, allocations: 9.523 MB / 1.044 GB, free: 198.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.063, allocations: 3.828 kB / 1.044 GB, free: 198.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008665/2.071, allocations: 4.109 MB / 1.048 GB, free: 194.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006988/2.078, allocations: 1.271 MB / 1.049 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.106/2.184, allocations: 77.91 MB / 1.125 GB, free: 112.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/2.197, allocations: 9.014 MB / 1.134 GB, free: 103.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006462/2.203, allocations: 2.869 MB / 1.137 GB, free: 100.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006578/2.21, allocations: 4.697 MB / 1.142 GB, free: 95.97 MB / 0.67 GB Notification: Performance of SimCode: time 2.084e-06/2.21, allocations: 0 / 1.142 GB, free: 95.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/2.794, allocations: 184.1 MB / 1.321 GB, free: 181.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.39/28.18, allocations: 4.812 kB / 1.321 GB, free: 181.6 MB / 0.6857 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.255880133714527] Failed to read output from testmodel.py, exit status != 0: ['time', 'I[1].re', 'I[1].im', 'I[2].re', 'I[2].im', 'I[3].re', 'I[3].im'] 28.36276514083147 28.373053981 27.803517414 Calling exit ...