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/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) 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(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/ModelicaServices trunk/package.mo): time 0.001531/0.001532, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2155, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009081/0.2246, allocations: 9.131 MB / 419.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.229, allocations: 2.647 MB / 421.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.2295, allocations: 67.81 kB / 421.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007053/0.2366, allocations: 3.741 MB / 425.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.2385, allocations: 0.745 MB / 426.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.2402, allocations: 0.9225 MB / 427.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.2435, allocations: 3.633 MB / 430.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009695/0.2532, allocations: 9.506 MB / 440.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.2556, allocations: 2.096 MB / 442.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.2582, allocations: 2.375 MB / 444.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006486/0.2589, allocations: 0.5859 MB / 445.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.2602, allocations: 0.8162 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000831/0.261, allocations: 1.111 MB / 447.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.263, allocations: 2.276 MB / 449.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.2691, allocations: 7.912 MB / 457.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2691, allocations: 0 / 457.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2691, allocations: 0 / 457.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.206e-05/0.2692, allocations: 0 / 457.5 MB, free: 1.828 MB / 366.1 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.01043/0.2796, allocations: 4.855 MB / 462.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2797, allocations: 8.031 kB / 462.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007993/0.2877, allocations: 1.3 MB / 463.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.2914, allocations: 2.303 MB / 466 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.2916, allocations: 320.4 kB / 466.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/0.2922, allocations: 408 kB / 466.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008827/0.301, allocations: 5.465 MB / 472.1 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.3011, allocations: 3.906 kB / 472.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.3015, allocations: 172 kB / 472.3 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.3017, allocations: 188.5 kB / 472.5 MB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007384/0.309, allocations: 4.796 MB / 477.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.3331, allocations: 19.29 MB / 496.6 MB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.3378, allocations: 3.883 MB / 0.4887 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.339, allocations: 0.7731 MB / 0.4895 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.3392, allocations: 195.2 kB / 0.4897 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3393, allocations: 47.55 kB / 0.4897 GB, free: 4.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.145e-06/0.3393, allocations: 4 kB / 0.4897 GB, free: 4.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002244/0.3415, allocations: 1.545 MB / 0.4912 GB, free: 2.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3416, allocations: 64.41 kB / 0.4913 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.3433, allocations: 1.334 MB / 0.4926 GB, free: 1.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.3434, allocations: 41.7 kB / 0.4927 GB, free: 1.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000995/0.3444, allocations: 1.769 MB / 0.4944 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.3447, allocations: 359.1 kB / 0.4947 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005731/0.3452, allocations: 451.3 kB / 0.4952 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3454, allocations: 353.9 kB / 0.4955 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.3465, allocations: 0.8279 MB / 0.4963 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.3483, allocations: 1.831 MB / 0.4981 GB, free: 11.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.3513, allocations: 2.79 MB / 0.5008 GB, free: 8.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/0.3513, allocations: 8 kB / 0.5008 GB, free: 8.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00399/0.3553, allocations: 2.731 MB / 0.5035 GB, free: 5.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3554, allocations: 24.25 kB / 0.5035 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/0.3554, allocations: 35.94 kB / 0.5035 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.379e-05/0.3555, allocations: 48 kB / 0.5036 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.3572, allocations: 0.5186 MB / 0.5041 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.426e-05/0.3573, allocations: 71.72 kB / 0.5042 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3586, allocations: 285.2 kB / 0.5044 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.3587, allocations: 120 kB / 0.5045 GB, free: 4.211 MB / 430.1 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 (272): * Single equations (assignments): 271 * 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.001923/0.3607, allocations: 1.488 MB / 0.506 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.3609, allocations: 118.5 kB / 0.5061 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.3631, allocations: 1.454 MB / 0.5075 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3631, allocations: 7.984 kB / 0.5075 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3631, allocations: 0 / 0.5075 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/0.3636, allocations: 303.2 kB / 0.5078 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.3638, allocations: 27.94 kB / 0.5079 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.3643, allocations: 47.94 kB / 0.5079 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3644, allocations: 56.92 kB / 0.508 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002022/0.3665, allocations: 1.259 MB / 0.5092 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002597/0.3691, allocations: 2.063 MB / 0.5112 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006567/0.3697, allocations: 0.531 MB / 0.5117 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.3709, allocations: 0.91 MB / 0.5126 GB, free: 11.87 MB / 446.1 MB Notification: Performance of Backend: time 2.41e-07/0.3709, allocations: 0 / 0.5126 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.3735, allocations: 1.574 MB / 0.5141 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 0.00965/0.3832, allocations: 5.949 MB / 0.52 GB, free: 4.277 MB / 446.1 MB Notification: Performance of Templates: time 0.2092/0.5924, allocations: 22.62 MB / 0.542 GB, free: 126.5 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches