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.001294/0.001294, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001488/0.001488, allocations: 213.5 kB / 23 MB, free: 5.609 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.492/1.492, allocations: 230.2 MB / 256.2 MB, free: 8.691 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.2282/0.2282, allocations: 46.88 MB / 359.4 MB, free: 4.949 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.002276/0.002276, allocations: 80.14 kB / 0.4941 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3567, allocations: 65.99 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02718/0.3839, allocations: 22.86 MB / 0.5809 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3971, allocations: 5.545 MB / 0.5863 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/0.4013, allocations: 191.4 kB / 0.5865 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02301/0.4243, allocations: 9.561 MB / 0.5958 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009733/0.4341, allocations: 2.167 MB / 0.598 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006653/0.4407, allocations: 1.898 MB / 0.5998 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02048/0.4612, allocations: 14.47 MB / 0.6139 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04197/0.5032, allocations: 20.06 MB / 0.6335 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.5168, allocations: 8.011 MB / 0.6414 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.5322, allocations: 8.795 MB / 0.6499 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006616/0.5388, allocations: 2.098 MB / 0.652 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008866/0.5477, allocations: 2.355 MB / 0.6543 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007873/0.5556, allocations: 4.329 MB / 0.6585 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01801/0.5736, allocations: 8.428 MB / 0.6667 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03861/0.6122, allocations: 28.76 MB / 0.6948 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.6122, allocations: 7.844 kB / 0.6948 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6122, allocations: 0 / 0.6948 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008387/0.613, allocations: 0 / 0.6948 GB, free: 9.02 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.06211/0.6752, allocations: 19.01 MB / 0.7134 GB, free: 5.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.6752, allocations: 12.03 kB / 0.7134 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00756/0.6828, allocations: 2.013 MB / 0.7154 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06264/0.7454, allocations: 11.48 MB / 0.7266 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5372/1.283, allocations: 8.893 MB / 0.7353 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00191/1.284, allocations: 1.057 MB / 0.7363 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006525/1.291, allocations: 1.374 MB / 0.7377 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05765/1.349, allocations: 23.63 MB / 0.7607 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005532/1.349, allocations: 18.45 kB / 0.7607 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00445/1.354, allocations: 0.567 MB / 0.7613 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006151/1.354, allocations: 0.6987 MB / 0.762 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03805/1.392, allocations: 21.74 MB / 0.7832 GB, free: 99.89 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1134/1.506, allocations: 72.06 MB / 0.8536 GB, free: 27.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.528, allocations: 28.06 MB / 0.881 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009165/1.537, allocations: 4.508 MB / 0.8854 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03288/1.57, allocations: 16.55 MB / 0.9015 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.382e-05/1.57, allocations: 102 kB / 0.9016 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.943e-06/1.57, allocations: 0 / 0.9016 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03981/1.61, allocations: 15.67 MB / 0.9169 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/1.61, allocations: 132.6 kB / 0.9171 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008766/1.619, allocations: 5.112 MB / 0.9221 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.62, allocations: 101.7 kB / 0.9222 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004963/1.625, allocations: 6.099 MB / 0.9281 GB, free: 12.34 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00281/1.628, allocations: 1.666 MB / 0.9297 GB, free: 10.66 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003044/1.631, allocations: 1.551 MB / 0.9313 GB, free: 9.105 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.631, allocations: 301.1 kB / 0.9315 GB, free: 8.809 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00775/1.638, allocations: 4.152 MB / 0.9356 GB, free: 4.652 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/1.652, allocations: 7.271 MB / 0.9427 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0202/1.672, allocations: 11.96 MB / 0.9544 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/1.672, allocations: 31.94 kB / 0.9544 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02809/1.7, allocations: 13.08 MB / 0.9672 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.701, allocations: 48 kB / 0.9672 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.701, allocations: 104 kB / 0.9673 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007266/1.708, allocations: 3.093 MB / 0.9704 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006867/1.715, allocations: 1.604 MB / 0.9719 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/1.716, allocations: 331 kB / 0.9722 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/1.722, allocations: 1.075 MB / 0.9733 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.724, allocations: 384 kB / 0.9737 GB, free: 10.72 MB / 0.67 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.01244/1.736, allocations: 5.39 MB / 0.9789 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.738, allocations: 0.5239 MB / 0.9794 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.756, allocations: 9.549 MB / 0.9888 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/1.756, allocations: 51.94 kB / 0.9888 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.756, allocations: 4 kB / 0.9888 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-05/1.756, allocations: 31.84 kB / 0.9888 GB, free: 11.12 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.347/2.103, allocations: 20.74 MB / 1.009 GB, free: 235.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/2.103, allocations: 0 / 1.009 GB, free: 235.3 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/2.106, allocations: 0.7417 MB / 1.01 GB, free: 235.2 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/2.112, allocations: 2.96 MB / 1.013 GB, free: 234.5 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008001/2.112, allocations: 103 kB / 1.013 GB, free: 234.4 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/2.113, allocations: 145.8 kB / 1.013 GB, free: 234.4 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.113, allocations: 3.75 kB / 1.013 GB, free: 234.4 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/2.132, allocations: 14.19 MB / 1.027 GB, free: 229.1 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005518/2.137, allocations: 1.393 MB / 1.028 GB, free: 228.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/2.14, allocations: 75.69 kB / 1.028 GB, free: 228.6 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/2.143, allocations: 363.4 kB / 1.029 GB, free: 228.6 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009161/2.144, allocations: 320 kB / 1.029 GB, free: 228.5 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003377/2.145, allocations: 136.7 kB / 1.029 GB, free: 228.5 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.005938/2.151, allocations: 3.423 MB / 1.032 GB, free: 227.3 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.5e-07/2.151, allocations: 0 / 1.032 GB, free: 227.3 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01088/2.162, allocations: 3.237 MB / 1.036 GB, free: 226.7 MB / 0.6857 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.02012/2.182, allocations: 14.91 MB / 1.05 GB, free: 217.1 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.01605/2.198, allocations: 9.51 MB / 1.059 GB, free: 209.1 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/2.198, allocations: 4 kB / 1.059 GB, free: 209.1 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.008023/2.206, allocations: 4.12 MB / 1.063 GB, free: 205.7 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007565/2.213, allocations: 1.266 MB / 1.065 GB, free: 204.7 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/2.335, allocations: 77.93 MB / 1.141 GB, free: 123.2 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01298/2.348, allocations: 9.006 MB / 1.15 GB, free: 114.1 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.006656/2.354, allocations: 2.869 MB / 1.152 GB, free: 111.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006852/2.361, allocations: 4.701 MB / 1.157 GB, free: 106.5 MB / 0.6857 GB Notification: Performance of SimCode: time 1.462e-06/2.361, allocations: 0 / 1.157 GB, free: 106.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5422/2.903, allocations: 177.8 MB / 1.331 GB, free: 181.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/27.76, allocations: 9.922 kB / 1.331 GB, free: 181.7 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 --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.204265131993452] 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.942277858994203 27.954370885 27.339368754 Calling exit ...