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.001611/0.001611, allocations: 122.7 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.001883/0.001883, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.579/1.579, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2648/0.2648, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.002315/0.002315, allocations: 83.86 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1534, allocations: 65.99 MB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02604/0.1795, allocations: 22.83 MB / 0.5779 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.1927, allocations: 5.533 MB / 0.5833 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.1974, allocations: 195.4 kB / 0.5835 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02277/0.2202, allocations: 9.581 MB / 0.5929 GB, free: 184 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3696/0.5898, allocations: 2.143 MB / 0.595 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.5974, allocations: 1.907 MB / 0.5968 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02196/0.6194, allocations: 14.46 MB / 0.611 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05283/0.6722, allocations: 26.21 MB / 0.6366 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02436/0.6966, allocations: 8.482 MB / 0.6449 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02009/0.7167, allocations: 8.84 MB / 0.6535 GB, free: 7.922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008563/0.7252, allocations: 2.098 MB / 0.6555 GB, free: 5.824 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.7364, allocations: 2.351 MB / 0.6578 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008813/0.7452, allocations: 4.337 MB / 0.6621 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02186/0.7671, allocations: 8.418 MB / 0.6703 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0403/0.8074, allocations: 28.77 MB / 0.6984 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8074, allocations: 4 kB / 0.6984 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8074, allocations: 4 kB / 0.6984 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009061/0.8083, allocations: 0 / 0.6984 GB, free: 10.71 MB / 0.5137 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.05894/0.8672, allocations: 19.01 MB / 0.717 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8673, allocations: 8.031 kB / 0.717 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007171/0.8744, allocations: 2.018 MB / 0.7189 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06167/0.9361, allocations: 11.48 MB / 0.7301 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/0.9602, allocations: 8.895 MB / 0.7388 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/0.9614, allocations: 1.062 MB / 0.7399 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006223/0.9677, allocations: 1.374 MB / 0.7412 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06473/1.032, allocations: 23.64 MB / 0.7643 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005773/1.033, allocations: 23.89 kB / 0.7643 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005153/1.038, allocations: 0.5701 MB / 0.7649 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007815/1.039, allocations: 0.6978 MB / 0.7656 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05026/1.089, allocations: 21.74 MB / 0.7868 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7494/1.839, allocations: 72.03 MB / 0.8571 GB, free: 159.7 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/1.861, allocations: 28.07 MB / 0.8845 GB, free: 138.5 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007986/1.869, allocations: 4.518 MB / 0.889 GB, free: 138.5 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/1.901, allocations: 16.55 MB / 0.9051 GB, free: 131.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.901, allocations: 83.2 kB / 0.9052 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 5.962e-06/1.901, allocations: 3.906 kB / 0.9052 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03178/1.933, allocations: 15.68 MB / 0.9205 GB, free: 124.6 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/1.933, allocations: 122.3 kB / 0.9206 GB, free: 124.5 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007352/1.941, allocations: 5.118 MB / 0.9256 GB, free: 121.8 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0008108/1.941, allocations: 97.58 kB / 0.9257 GB, free: 121.8 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003464/1.945, allocations: 6.098 MB / 0.9317 GB, free: 117.4 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/1.947, allocations: 1.662 MB / 0.9333 GB, free: 116.1 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/1.949, allocations: 1.559 MB / 0.9348 GB, free: 115.3 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/1.949, allocations: 305.1 kB / 0.9351 GB, free: 115 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005582/1.954, allocations: 4.147 MB / 0.9392 GB, free: 112.8 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006931/1.961, allocations: 7.267 MB / 0.9463 GB, free: 106.4 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.975, allocations: 11.96 MB / 0.9579 GB, free: 96.35 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.975, allocations: 36 kB / 0.958 GB, free: 96.32 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02059/1.995, allocations: 13.08 MB / 0.9707 GB, free: 83.21 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/1.996, allocations: 55.94 kB / 0.9708 GB, free: 83.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/1.996, allocations: 104 kB / 0.9709 GB, free: 83.06 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00518/2.001, allocations: 3.091 MB / 0.9739 GB, free: 79.96 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/2.006, allocations: 1.603 MB / 0.9755 GB, free: 78.35 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007071/2.007, allocations: 338.9 kB / 0.9758 GB, free: 78.01 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/2.013, allocations: 1.071 MB / 0.9769 GB, free: 76.93 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/2.014, allocations: 392 kB / 0.9772 GB, free: 76.55 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.009671/2.023, allocations: 5.382 MB / 0.9825 GB, free: 71.15 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/2.025, allocations: 0.5239 MB / 0.983 GB, free: 70.62 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/2.04, allocations: 9.545 MB / 0.9923 GB, free: 61.04 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/2.04, allocations: 55.94 kB / 0.9924 GB, free: 60.99 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/2.04, allocations: 0 / 0.9924 GB, free: 60.99 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-05/2.04, allocations: 27.91 kB / 0.9924 GB, free: 60.96 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03848/2.078, allocations: 20.74 MB / 1.013 GB, free: 40.25 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/2.078, allocations: 0 / 1.013 GB, free: 40.25 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/2.081, allocations: 0.741 MB / 1.013 GB, free: 39.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/2.086, allocations: 2.969 MB / 1.016 GB, free: 36.52 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/2.087, allocations: 108 kB / 1.016 GB, free: 36.42 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/2.088, allocations: 142.5 kB / 1.017 GB, free: 36.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.088, allocations: 0 / 1.017 GB, free: 36.27 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/2.106, allocations: 14.19 MB / 1.03 GB, free: 22.04 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.11, allocations: 1.394 MB / 1.032 GB, free: 20.62 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/2.111, allocations: 79.94 kB / 1.032 GB, free: 20.54 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/2.113, allocations: 363.6 kB / 1.032 GB, free: 20.19 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/2.114, allocations: 323.4 kB / 1.032 GB, free: 19.87 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.114, allocations: 132 kB / 1.033 GB, free: 19.74 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.004638/2.119, allocations: 3.423 MB / 1.036 GB, free: 16.32 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.61e-07/2.119, allocations: 0 / 1.036 GB, free: 16.32 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008659/2.128, allocations: 3.23 MB / 1.039 GB, free: 13.08 MB / 0.6388 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.01973/2.147, allocations: 14.91 MB / 1.054 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01927/2.167, allocations: 9.525 MB / 1.063 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.167, allocations: 0 / 1.063 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009177/2.176, allocations: 4.115 MB / 1.067 GB, free: 480 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/2.182, allocations: 1.273 MB / 1.068 GB, free: 15.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4645/2.647, allocations: 77.67 MB / 1.144 GB, free: 214 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/2.659, allocations: 9.015 MB / 1.153 GB, free: 208.8 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.006306/2.665, allocations: 2.869 MB / 1.156 GB, free: 207.5 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006766/2.672, allocations: 4.697 MB / 1.16 GB, free: 203.2 MB / 0.6857 GB Notification: Performance of SimCode: time 1.913e-06/2.672, allocations: 0 / 1.16 GB, free: 203.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2287/2.901, allocations: 180.4 MB / 1.336 GB, free: 24.77 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.55/27.45, allocations: 23.53 kB / 1.336 GB, free: 24.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 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.284494506195188] 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'] 27.63730608392507 27.646768009 26.836837639 Calling exit ...