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.001006/0.001006, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001007/0.001007, allocations: 192 kB / 18.51 MB, free: 4.508 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.278/1.278, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001196/0.001196, allocations: 51.92 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09274, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01054/0.1033, allocations: 9.7 MB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.109, allocations: 2.742 MB / 339.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1104, allocations: 59.81 kB / 339.8 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00784/0.1182, allocations: 3.773 MB / 343.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.1216, allocations: 1.061 MB / 344.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.1237, allocations: 0.8102 MB / 345.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.1278, allocations: 3.887 MB / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.1399, allocations: 9.592 MB / 358.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.1429, allocations: 2.209 MB / 361.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.1466, allocations: 2.554 MB / 363.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.1483, allocations: 0.6055 MB / 364.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.1507, allocations: 0.8162 MB / 365.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.1517, allocations: 1.196 MB / 366.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.1541, allocations: 2.416 MB / 368.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.1612, allocations: 8.094 MB / 376.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.1613, allocations: 0 / 376.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1613, allocations: 0 / 376.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002471/0.1615, allocations: 0 / 376.8 MB, free: 2.711 MB / 318.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.1676/0.3292, allocations: 5.158 MB / 382 MB, free: 48.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3292, allocations: 11.47 kB / 382 MB, free: 48.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.3445, allocations: 2.567 MB / 384.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/0.3494, allocations: 2.159 MB / 386.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.3498, allocations: 334.8 kB / 387 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.3512, allocations: 443.4 kB / 387.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009982/0.3612, allocations: 6.111 MB / 393.6 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/0.3613, allocations: 7.125 kB / 393.6 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003972/0.3617, allocations: 184.4 kB / 393.8 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.362, allocations: 217 kB / 394 MB, free: 43.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007651/0.3696, allocations: 5.782 MB / 399.7 MB, free: 40.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.3905, allocations: 21.4 MB / 421.1 MB, free: 18.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/0.3965, allocations: 8.959 MB / 430.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.3977, allocations: 0.9733 MB / 431.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.4016, allocations: 3.551 MB / 434.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4016, allocations: 38.72 kB / 434.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.4016, allocations: 0 / 434.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008799/0.4025, allocations: 0.6405 MB / 435.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4026, allocations: 55.41 kB / 435.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.4045, allocations: 1.986 MB / 437.4 MB, free: 348 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4046, allocations: 33.7 kB / 437.4 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.4058, allocations: 2.182 MB / 439.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.406, allocations: 146.5 kB / 439.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.4067, allocations: 0.5392 MB / 440.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4068, allocations: 353.9 kB / 440.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4081, allocations: 0.8754 MB / 441.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.4102, allocations: 2.25 MB / 443.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.4132, allocations: 3.063 MB / 446.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/0.4132, allocations: 16 kB / 446.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004702/0.418, allocations: 3.122 MB / 449.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.418, allocations: 31.28 kB / 449.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.097e-05/0.4181, allocations: 48 kB / 450 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.864e-05/0.4182, allocations: 64 kB / 450.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.4199, allocations: 0.5927 MB / 450.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-05/0.42, allocations: 95.64 kB / 450.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.4218, allocations: 412.4 kB / 451.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.422, allocations: 144 kB / 451.3 MB, free: 0.9961 MB / 334.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.002206/0.4243, allocations: 1.566 MB / 452.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.4245, allocations: 126.3 kB / 453 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.4254, allocations: 0.6095 MB / 453.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004037/0.4259, allocations: 325.4 kB / 453.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4259, allocations: 3.938 kB / 453.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4259, allocations: 3.984 kB / 453.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.4329, allocations: 3.971 MB / 457.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.4329, allocations: 8 kB / 457.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.4332, allocations: 63.83 kB / 458 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.4332, allocations: 8.594 kB / 458 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.4332, allocations: 12 kB / 458 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.4333, allocations: 7.938 kB / 458 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4333, allocations: 4 kB / 458 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4343, allocations: 0.9036 MB / 458.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.4347, allocations: 255.3 kB / 459.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.4349, allocations: 15.94 kB / 459.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.4355, allocations: 44 kB / 459.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.4356, allocations: 39.78 kB / 459.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4356, allocations: 12 kB / 459.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.4373, allocations: 1.339 MB / 460.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4373, allocations: 0 / 460.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002361/0.4397, allocations: 0.9232 MB / 461.5 MB, free: 6.465 MB / 350.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.0002614/0.44, allocations: 163.9 kB / 461.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.4423, allocations: 1.669 MB / 463.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4423, allocations: 4 kB / 463.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.4426, allocations: 176 kB / 463.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.444, allocations: 293.5 kB / 463.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.4535, allocations: 5.996 MB / 469.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/0.4563, allocations: 2.894 MB / 472.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001958/0.4583, allocations: 0.7709 MB / 473.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.4585, allocations: 111.4 kB / 473.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4585, allocations: 0 / 473.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.03272/0.4913, allocations: 17.02 MB / 490.6 MB, free: 9.254 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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