Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.5 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 191 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.1004, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.2343/0.3348, allocations: 9.705 MB / 385.5 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00571/0.3405, allocations: 2.746 MB / 388.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.3421, allocations: 55.88 kB / 388.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007503/0.3496, allocations: 3.76 MB / 392.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.3539, allocations: 1.073 MB / 393.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.3563, allocations: 0.8156 MB / 394 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005163/0.3615, allocations: 3.907 MB / 397.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.3756, allocations: 9.563 MB / 407.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.3798, allocations: 2.213 MB / 409.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.3845, allocations: 2.554 MB / 412.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.3862, allocations: 0.6033 MB / 412.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.3888, allocations: 0.8169 MB / 413.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3899, allocations: 1.197 MB / 414.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.3931, allocations: 2.424 MB / 417.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.4011, allocations: 8.131 MB / 425.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4012, allocations: 4 kB / 425.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4012, allocations: 0 / 425.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.4014, allocations: 0 / 425.4 MB, free: 14.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01316/0.4145, allocations: 5.163 MB / 430.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4146, allocations: 11.97 kB / 430.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.4295, allocations: 2.575 MB / 433.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.4342, allocations: 2.151 MB / 435.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/0.4345, allocations: 337.1 kB / 435.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.4357, allocations: 451.8 kB / 436.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.4479, allocations: 6.103 MB / 442.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.502e-05/0.448, allocations: 8 kB / 442.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004309/0.4484, allocations: 180 kB / 442.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.4486, allocations: 213.3 kB / 442.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.4602, allocations: 5.787 MB / 448.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03289/0.4931, allocations: 21.15 MB / 469.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008136/0.5013, allocations: 8.947 MB / 478.4 MB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.5029, allocations: 0.9727 MB / 479.4 MB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.508, allocations: 3.553 MB / 483 MB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.508, allocations: 34.8 kB / 483 MB, free: 1.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/0.5081, allocations: 3.938 kB / 483 MB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001066/0.5091, allocations: 0.6475 MB / 483.7 MB, free: 1.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.5092, allocations: 55.41 kB / 483.7 MB, free: 1.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.5118, allocations: 1.983 MB / 485.7 MB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.5118, allocations: 29.7 kB / 485.7 MB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.5133, allocations: 2.181 MB / 487.9 MB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5134, allocations: 154.4 kB / 488 MB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.5142, allocations: 0.5431 MB / 488.6 MB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5144, allocations: 345.9 kB / 488.9 MB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5157, allocations: 0.8754 MB / 489.8 MB, free: 10.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.5182, allocations: 2.247 MB / 492.1 MB, free: 8.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.5216, allocations: 3.067 MB / 495.1 MB, free: 4.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-05/0.5217, allocations: 15.98 kB / 495.1 MB, free: 4.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004589/0.5263, allocations: 3.125 MB / 498.3 MB, free: 1.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.5263, allocations: 28.56 kB / 498.3 MB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.125e-05/0.5264, allocations: 48 kB / 498.3 MB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-05/0.5265, allocations: 64 kB / 498.4 MB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.5281, allocations: 0.5888 MB / 499 MB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-05/0.5282, allocations: 100.2 kB / 499.1 MB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5303, allocations: 412.2 kB / 499.5 MB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.5305, allocations: 148 kB / 499.6 MB, free: 15.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002695/0.5332, allocations: 1.562 MB / 0.4894 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.5335, allocations: 134.2 kB / 0.4896 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.5345, allocations: 0.6056 MB / 0.4902 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004039/0.5349, allocations: 313.5 kB / 0.4905 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5349, allocations: 0 / 0.4905 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5349, allocations: 3.984 kB / 0.4905 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/0.5405, allocations: 3.976 MB / 0.4943 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5405, allocations: 7.938 kB / 0.4944 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.5408, allocations: 59.89 kB / 0.4944 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.5408, allocations: 4.594 kB / 0.4944 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5409, allocations: 16 kB / 0.4944 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.5409, allocations: 7.938 kB / 0.4944 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5409, allocations: 8 kB / 0.4944 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.542, allocations: 0.8928 MB / 0.4953 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.5425, allocations: 259.3 kB / 0.4956 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.5426, allocations: 8 kB / 0.4956 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.5432, allocations: 43.94 kB / 0.4956 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.5433, allocations: 35.91 kB / 0.4957 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.5433, allocations: 19.94 kB / 0.4957 GB, free: 7.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.545, allocations: 1.339 MB / 0.497 GB, free: 6.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5451, allocations: 0 / 0.497 GB, free: 6.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003074/0.5481, allocations: 0.9245 MB / 0.4979 GB, free: 5.281 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.5485, allocations: 155.1 kB / 0.498 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.5512, allocations: 1.678 MB / 0.4997 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5512, allocations: 0 / 0.4997 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.5514, allocations: 183.8 kB / 0.4998 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.553, allocations: 302.7 kB / 0.5001 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.5636, allocations: 5.805 MB / 0.5058 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/0.566, allocations: 2.816 MB / 0.5086 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.5665, allocations: 135.4 kB / 0.5087 GB, free: 10.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5665, allocations: 0 / 0.5087 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Templates: time 0.0566/0.6231, allocations: 38.21 MB / 0.546 GB, free: 3.816 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches