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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001432, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.3 MB, free: 9.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2541/0.2541, allocations: 46.11 MB / 343.7 MB, free: 11.58 MB / 286.1 MB 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.002312/0.002313, allocations: 89.2 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1518, allocations: 62.44 MB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02611/0.178, allocations: 22.33 MB / 0.4899 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1917, allocations: 5.471 MB / 0.4953 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.1972, allocations: 187.4 kB / 0.4955 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02056/0.2178, allocations: 9.017 MB / 0.5043 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2427/0.4605, allocations: 1.93 MB / 0.5062 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.4675, allocations: 1.781 MB / 0.5079 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02272/0.4903, allocations: 14.48 MB / 0.522 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05363/0.5439, allocations: 29.05 MB / 0.5504 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.017/0.561, allocations: 6.998 MB / 0.5572 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01826/0.5793, allocations: 8.455 MB / 0.5655 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005834/0.5852, allocations: 1.512 MB / 0.567 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008586/0.5938, allocations: 1.767 MB / 0.5687 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00747/0.6013, allocations: 3.68 MB / 0.5723 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01904/0.6204, allocations: 7.774 MB / 0.5799 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03647/0.6569, allocations: 28.05 MB / 0.6073 GB, free: 15.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.657, allocations: 3.984 kB / 0.6073 GB, free: 15.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.657, allocations: 0 / 0.6073 GB, free: 15.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008944/0.6579, allocations: 0 / 0.6073 GB, free: 15.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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06173/0.7196, allocations: 18.69 MB / 0.6255 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.7197, allocations: 8.875 kB / 0.6255 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0623/0.782, allocations: 11.41 MB / 0.6367 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/0.8009, allocations: 8.576 MB / 0.6451 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/0.802, allocations: 1.056 MB / 0.6461 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006036/0.8081, allocations: 1.372 MB / 0.6474 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06788/0.876, allocations: 23.63 MB / 0.6705 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005878/0.8766, allocations: 19.75 kB / 0.6705 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005438/0.882, allocations: 0.5691 MB / 0.6711 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007985/0.8829, allocations: 0.7017 MB / 0.6718 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05307/0.9359, allocations: 21.74 MB / 0.693 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6121/1.548, allocations: 72.72 MB / 0.764 GB, free: 134.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/1.567, allocations: 28.69 MB / 0.792 GB, free: 107.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007477/1.575, allocations: 4.966 MB / 0.7969 GB, free: 105.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0265/1.601, allocations: 16.57 MB / 0.8131 GB, free: 94.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.601, allocations: 89.8 kB / 0.8131 GB, free: 94.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=465): time 6.261e-06/1.601, allocations: 0 / 0.8131 GB, free: 94.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=465): time 0.03504/1.636, allocations: 15.73 MB / 0.8285 GB, free: 81.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.637, allocations: 124.7 kB / 0.8286 GB, free: 81.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007247/1.644, allocations: 5.109 MB / 0.8336 GB, free: 76.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.645, allocations: 101.6 kB / 0.8337 GB, free: 76.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.648, allocations: 5.887 MB / 0.8395 GB, free: 70.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.649, allocations: 1.586 MB / 0.841 GB, free: 68.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00239/1.652, allocations: 1.551 MB / 0.8425 GB, free: 67.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/1.652, allocations: 301.1 kB / 0.8428 GB, free: 66.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/1.657, allocations: 4.152 MB / 0.8469 GB, free: 62.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006475/1.664, allocations: 7.268 MB / 0.854 GB, free: 53.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/1.677, allocations: 11.95 MB / 0.8656 GB, free: 40.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.783e-05/1.677, allocations: 36 kB / 0.8657 GB, free: 40.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0245/1.702, allocations: 13.13 MB / 0.8785 GB, free: 27.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.702, allocations: 48 kB / 0.8785 GB, free: 27.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.702, allocations: 104 kB / 0.8786 GB, free: 27.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006023/1.708, allocations: 3.107 MB / 0.8817 GB, free: 24.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/1.714, allocations: 1.603 MB / 0.8832 GB, free: 22.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008672/1.715, allocations: 338.9 kB / 0.8836 GB, free: 22.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/1.722, allocations: 1.061 MB / 0.8846 GB, free: 20.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/1.724, allocations: 388 kB / 0.885 GB, free: 20.61 MB / 0.545 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.01128/1.735, allocations: 5.386 MB / 0.8902 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.737, allocations: 0.4938 MB / 0.8907 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.754, allocations: 9.639 MB / 0.9001 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/1.754, allocations: 52 kB / 0.9002 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/1.754, allocations: 0 / 0.9002 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.888e-05/1.754, allocations: 23.91 kB / 0.9002 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04671/1.801, allocations: 20.86 MB / 0.9206 GB, free: 124 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.801, allocations: 0 / 0.9206 GB, free: 124 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003987/1.805, allocations: 0.7488 MB / 0.9213 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007463/1.812, allocations: 2.957 MB / 0.9242 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.813, allocations: 104 kB / 0.9243 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007784/1.814, allocations: 150.4 kB / 0.9244 GB, free: 12.14 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.814, allocations: 0 / 0.9244 GB, free: 12.14 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3006/2.115, allocations: 14.22 MB / 0.9383 GB, free: 192.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/2.118, allocations: 1.364 MB / 0.9397 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/2.12, allocations: 87.08 kB / 0.9397 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/2.123, allocations: 374.1 kB / 0.9401 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009343/2.124, allocations: 318.2 kB / 0.9404 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003712/2.124, allocations: 139 kB / 0.9405 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006556/2.131, allocations: 3.423 MB / 0.9439 GB, free: 191.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.312e-06/2.131, allocations: 4.562 kB / 0.9439 GB, free: 191.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01233/2.143, allocations: 3.19 MB / 0.947 GB, free: 190.9 MB / 0.5763 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.001553/2.145, allocations: 257 kB / 0.9472 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01821/2.163, allocations: 9.906 MB / 0.9569 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/2.163, allocations: 3.969 kB / 0.9569 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007569/2.171, allocations: 4.45 MB / 0.9613 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/2.177, allocations: 1.193 MB / 0.9624 GB, free: 185.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/2.218, allocations: 29.99 MB / 0.9917 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/2.232, allocations: 9.008 MB / 1.001 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007787/2.24, allocations: 2.869 MB / 1.003 GB, free: 159.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/2.241, allocations: 395.3 kB / 1.004 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.352e-06/2.241, allocations: 1.531 kB / 1.004 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1347/2.376, allocations: 92.09 MB / 1.094 GB, free: 67.23 MB / 0.5763 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (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 & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches