Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 102.2 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008918/0.0008919, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1913, allocations: 50.44 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007243/0.1986, allocations: 9.024 MB / 416.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.2029, allocations: 2.632 MB / 418.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.2036, allocations: 63.81 kB / 418.8 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005532/0.2091, allocations: 3.546 MB / 422.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.2113, allocations: 0.6608 MB / 423 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.2131, allocations: 0.884 MB / 423.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.216, allocations: 3.516 MB / 427.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008755/0.2248, allocations: 8.04 MB / 435.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.2271, allocations: 1.897 MB / 437.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.2297, allocations: 2.316 MB / 439.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.2304, allocations: 460 kB / 440.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2316, allocations: 0.6717 MB / 440.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.2324, allocations: 0.9659 MB / 441.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.2342, allocations: 2.136 MB / 443.8 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.2403, allocations: 7.763 MB / 451.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2404, allocations: 0 / 451.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2404, allocations: 0 / 451.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.2405, allocations: 0 / 451.6 MB, free: 15.05 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01119/0.2517, allocations: 4.868 MB / 456.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2517, allocations: 12.03 kB / 456.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.2591, allocations: 1.3 MB / 457.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.2636, allocations: 2.229 MB / 460 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.2639, allocations: 312.4 kB / 460.3 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008524/0.2647, allocations: 411.9 kB / 460.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.275, allocations: 5.489 MB / 466.2 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.2751, allocations: 4 kB / 466.2 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003995/0.2755, allocations: 172 kB / 466.4 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.2757, allocations: 184.6 kB / 466.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008184/0.2839, allocations: 4.816 MB / 471.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.31, allocations: 19.56 MB / 490.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.3147, allocations: 3.926 MB / 494.9 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.316, allocations: 0.8198 MB / 495.7 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.3162, allocations: 199.2 kB / 495.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3162, allocations: 43.56 kB / 495.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 2.865e-06/0.3163, allocations: 0 / 495.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002429/0.3187, allocations: 1.678 MB / 497.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3188, allocations: 68.41 kB / 497.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.3206, allocations: 1.334 MB / 499 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.3207, allocations: 37.7 kB / 499 MB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/0.3217, allocations: 1.746 MB / 0.4891 GB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.322, allocations: 386.7 kB / 0.4894 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006064/0.3226, allocations: 455.5 kB / 0.4899 GB, free: 11.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3227, allocations: 349.9 kB / 0.4902 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.324, allocations: 0.867 MB / 0.491 GB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.3257, allocations: 1.867 MB / 0.4929 GB, free: 7.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.3286, allocations: 2.872 MB / 0.4957 GB, free: 4.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.3287, allocations: 8 kB / 0.4957 GB, free: 4.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003846/0.3325, allocations: 2.816 MB / 0.4984 GB, free: 1.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.3326, allocations: 16 kB / 0.4984 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.3326, allocations: 36.88 kB / 0.4985 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.186e-05/0.3327, allocations: 51.98 kB / 0.4985 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.3342, allocations: 0.5225 MB / 0.499 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.253e-05/0.3343, allocations: 67.78 kB / 0.4991 GB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3355, allocations: 289.2 kB / 0.4994 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.3357, allocations: 116 kB / 0.4995 GB, free: 0.7148 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.1656/0.5013, allocations: 1.488 MB / 0.5009 GB, free: 86.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.5016, allocations: 119.3 kB / 0.501 GB, free: 86.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.5041, allocations: 1.547 MB / 0.5026 GB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001347/0.5055, allocations: 1.113 MB / 0.5036 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5055, allocations: 0.8438 kB / 0.5036 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.5055, allocations: 4.734 kB / 0.5037 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.521, allocations: 13.84 MB / 0.5172 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.5211, allocations: 23.56 kB / 0.5172 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.5218, allocations: 226.2 kB / 0.5174 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.5218, allocations: 30.84 kB / 0.5174 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.5219, allocations: 57.05 kB / 0.5175 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/0.522, allocations: 39.03 kB / 0.5175 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.522, allocations: 31.12 kB / 0.5176 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.5266, allocations: 5.055 MB / 0.5225 GB, free: 74.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.5271, allocations: 335.5 kB / 0.5228 GB, free: 74.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5272, allocations: 55.98 kB / 0.5229 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.5279, allocations: 67.94 kB / 0.5229 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.528, allocations: 155.4 kB / 0.5231 GB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.5281, allocations: 56 kB / 0.5231 GB, free: 74.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008372/0.5289, allocations: 0.9062 MB / 0.524 GB, free: 73.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.529, allocations: 0 / 0.524 GB, free: 73.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002033/0.531, allocations: 0.9288 MB / 0.5249 GB, free: 72.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002829/0.5313, allocations: 221.1 kB / 0.5251 GB, free: 72.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.5334, allocations: 1.957 MB / 0.527 GB, free: 70.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5334, allocations: 8.125 kB / 0.5271 GB, free: 70.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.5341, allocations: 0.6717 MB / 0.5277 GB, free: 69.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5358, allocations: 335.4 kB / 0.528 GB, free: 69.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/0.5444, allocations: 8.703 MB / 0.5365 GB, free: 60.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.5463, allocations: 2.84 MB / 0.5393 GB, free: 57.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001709/0.548, allocations: 0.7656 MB / 0.5401 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5483, allocations: 107.4 kB / 0.5402 GB, free: 56.46 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5483, allocations: 1.875 kB / 0.5402 GB, free: 56.46 MB / 378.7 MB Notification: Performance of Templates: time 0.02355/0.5718, allocations: 17.02 MB / 0.5568 GB, free: 39.55 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches