Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 111.6 kB / 17.06 MB, free: 6 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.00115/0.00115, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000952/0.0009521, allocations: 51.91 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2721, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01036/0.2825, allocations: 9.134 MB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.288, allocations: 2.565 MB / 412.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.2895, allocations: 67.81 kB / 412.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008438/0.2981, allocations: 3.748 MB / 416.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.3019, allocations: 0.8932 MB / 417.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.3041, allocations: 0.7921 MB / 417.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.3088, allocations: 3.634 MB / 421.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.3214, allocations: 9.506 MB / 431.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.3251, allocations: 2.088 MB / 433.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.3286, allocations: 2.379 MB / 435.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.3298, allocations: 0.5859 MB / 436.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.3316, allocations: 0.7966 MB / 436.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009086/0.3325, allocations: 1.107 MB / 438 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.3354, allocations: 2.276 MB / 440.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006943/0.3423, allocations: 7.889 MB / 448.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3424, allocations: 3.984 kB / 448.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3424, allocations: 0 / 448.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001754/0.3426, allocations: 4 kB / 448.2 MB, free: 9.18 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.01234/0.3549, allocations: 4.844 MB / 453 MB, free: 4.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.036e-05/0.355, allocations: 15.89 kB / 453.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007315/0.3623, allocations: 1.273 MB / 454.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.3663, allocations: 2.31 MB / 456.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.3665, allocations: 320.4 kB / 456.9 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.3674, allocations: 400 kB / 457.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3776, allocations: 5.469 MB / 462.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.358e-05/0.3777, allocations: 4 kB / 462.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.3781, allocations: 172 kB / 463 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.3782, allocations: 180.6 kB / 463.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008731/0.387, allocations: 4.8 MB / 468 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.4192, allocations: 19.05 MB / 487 MB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004536/0.4238, allocations: 3.887 MB / 490.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.4252, allocations: 0.7809 MB / 491.7 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.4254, allocations: 110.1 kB / 491.8 MB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4254, allocations: 51.48 kB / 491.8 MB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.316e-06/0.4254, allocations: 4 kB / 491.8 MB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002373/0.4278, allocations: 1.545 MB / 493.4 MB, free: 10.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.4279, allocations: 60.41 kB / 493.4 MB, free: 10.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.4297, allocations: 1.334 MB / 494.8 MB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.4298, allocations: 45.7 kB / 494.8 MB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4308, allocations: 1.757 MB / 496.6 MB, free: 7.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.4311, allocations: 355 kB / 496.9 MB, free: 7.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007096/0.4318, allocations: 451.4 kB / 497.4 MB, free: 6.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.432, allocations: 349.9 kB / 497.7 MB, free: 6.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4332, allocations: 0.8318 MB / 498.5 MB, free: 5.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.4349, allocations: 1.827 MB / 0.4886 GB, free: 3.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.4379, allocations: 2.79 MB / 0.4914 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.4379, allocations: 12 kB / 0.4914 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004007/0.4419, allocations: 2.735 MB / 0.494 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.442, allocations: 24.06 kB / 0.4941 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.442, allocations: 36 kB / 0.4941 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.612e-05/0.4421, allocations: 51.94 kB / 0.4941 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4437, allocations: 0.5186 MB / 0.4947 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-05/0.4438, allocations: 67.78 kB / 0.4947 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.445, allocations: 293.2 kB / 0.495 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4452, allocations: 115.9 kB / 0.4951 GB, free: 11.98 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.002406/0.4476, allocations: 1.488 MB / 0.4966 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.4478, allocations: 118.5 kB / 0.4967 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.45, allocations: 1.454 MB / 0.4981 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001383/0.4514, allocations: 1.037 MB / 0.4991 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.4514, allocations: 0 / 0.4991 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4515, allocations: 7.984 kB / 0.4991 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.4672, allocations: 12.29 MB / 0.5111 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.4673, allocations: 20 kB / 0.5111 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.4681, allocations: 227.5 kB / 0.5114 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-05/0.4681, allocations: 28 kB / 0.5114 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.4682, allocations: 52 kB / 0.5114 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.951e-05/0.4682, allocations: 44.44 kB / 0.5115 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/0.4683, allocations: 35.81 kB / 0.5115 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.4716, allocations: 2.655 MB / 0.5141 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.4722, allocations: 327.2 kB / 0.5144 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.4723, allocations: 51.97 kB / 0.5145 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.4731, allocations: 67.95 kB / 0.5145 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.4733, allocations: 143.4 kB / 0.5147 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/0.4734, allocations: 60 kB / 0.5147 GB, free: 6.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.4746, allocations: 0.9023 MB / 0.5156 GB, free: 5.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4747, allocations: 0 / 0.5156 GB, free: 5.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002744/0.4774, allocations: 0.8701 MB / 0.5165 GB, free: 5.059 MB / 446.1 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 (106): * Single equations (assignments): 105 * 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.0004878/0.4779, allocations: 226.5 kB / 0.5167 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.4809, allocations: 1.926 MB / 0.5185 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.4809, allocations: 4 kB / 0.5186 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008446/0.4818, allocations: 0.6258 MB / 0.5192 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.4838, allocations: 340.1 kB / 0.5195 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4941, allocations: 6.376 MB / 0.5257 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.4968, allocations: 2.813 MB / 0.5285 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00179/0.4986, allocations: 0.7654 MB / 0.5292 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4989, allocations: 107.4 kB / 0.5293 GB, free: 7.508 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4989, allocations: 0 / 0.5293 GB, free: 7.508 MB / 462.1 MB Notification: Performance of Templates: time 0.2485/0.7474, allocations: 17.23 MB / 0.5461 GB, free: 125 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches