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.001491/0.001491, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001712/0.001712, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.351/1.351, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 47.42 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1061, allocations: 49.44 MB / 350.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01129/0.1174, allocations: 9.128 MB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.123, allocations: 2.573 MB / 362.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.1243, allocations: 63.81 kB / 362.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007982/0.1323, allocations: 3.731 MB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.1356, allocations: 0.9084 MB / 367.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1378, allocations: 0.7863 MB / 367.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1776/0.3154, allocations: 3.59 MB / 371.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.3282, allocations: 9.555 MB / 381.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.3313, allocations: 2.082 MB / 383.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.3355, allocations: 2.383 MB / 385.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.3372, allocations: 0.5863 MB / 386.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3397, allocations: 0.7949 MB / 386.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.3409, allocations: 1.105 MB / 388 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.3446, allocations: 2.279 MB / 390.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.3515, allocations: 7.836 MB / 398.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3515, allocations: 1.969 kB / 398.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3515, allocations: 0 / 398.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002191/0.3517, allocations: 0 / 398.1 MB, free: 15.68 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01494/0.3667, allocations: 4.861 MB / 403 MB, free: 12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3668, allocations: 8.031 kB / 403 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007699/0.3745, allocations: 1.263 MB / 404.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.3788, allocations: 2.236 MB / 406.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.3791, allocations: 312.4 kB / 406.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3801, allocations: 419.4 kB / 407.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.3913, allocations: 5.467 MB / 412.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/0.3914, allocations: 11.28 kB / 412.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/0.3918, allocations: 164 kB / 412.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.392, allocations: 180.6 kB / 413 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009093/0.4011, allocations: 4.8 MB / 417.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.429, allocations: 19.29 MB / 437.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/0.4336, allocations: 3.891 MB / 441 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.4348, allocations: 0.7726 MB / 441.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.435, allocations: 113.7 kB / 441.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.435, allocations: 46.19 kB / 441.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 2.695e-06/0.435, allocations: 0 / 441.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002297/0.4373, allocations: 1.553 MB / 443.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4374, allocations: 64.41 kB / 443.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.4391, allocations: 1.336 MB / 444.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.4392, allocations: 37.7 kB / 444.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009586/0.4402, allocations: 1.763 MB / 446.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.4404, allocations: 367.7 kB / 447.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/0.441, allocations: 447.3 kB / 447.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4412, allocations: 345.9 kB / 447.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4423, allocations: 0.8318 MB / 448.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.444, allocations: 1.828 MB / 450.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.4469, allocations: 2.793 MB / 453.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.4469, allocations: 12 kB / 453.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003819/0.4508, allocations: 2.733 MB / 456 MB, free: 5.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.4508, allocations: 20 kB / 456 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.4509, allocations: 36.12 kB / 456.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.993e-05/0.4509, allocations: 48 kB / 456.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.4525, allocations: 0.5186 MB / 456.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.04e-05/0.4526, allocations: 79.64 kB / 456.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.4539, allocations: 285.2 kB / 457 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.4541, allocations: 115.9 kB / 457.1 MB, free: 4.484 MB / 366.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.002051/0.4561, allocations: 1.488 MB / 458.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.4564, allocations: 122.5 kB / 458.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.4586, allocations: 1.464 MB / 460.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00141/0.4601, allocations: 1.033 MB / 461.2 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4601, allocations: 0 / 461.2 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.4601, allocations: 3.984 kB / 461.2 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.4768, allocations: 12.28 MB / 473.5 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.365e-05/0.4769, allocations: 20 kB / 473.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.4778, allocations: 238.6 kB / 473.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.051e-05/0.4778, allocations: 31.94 kB / 473.8 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4779, allocations: 44 kB / 473.8 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.158e-05/0.478, allocations: 39.39 kB / 473.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/0.478, allocations: 35.06 kB / 473.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.4812, allocations: 2.646 MB / 476.6 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.4819, allocations: 332.3 kB / 476.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.4822, allocations: 47.98 kB / 476.9 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/0.4831, allocations: 71.94 kB / 477 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4833, allocations: 142.3 kB / 477.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.4834, allocations: 63.94 kB / 477.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4849, allocations: 0.9062 MB / 478.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4849, allocations: 4 kB / 478.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002688/0.4876, allocations: 0.8701 MB / 479 MB, free: 13.83 MB / 398.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.0004144/0.488, allocations: 224.1 kB / 479.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.4909, allocations: 1.922 MB / 481.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.4909, allocations: 4 kB / 481.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009363/0.4919, allocations: 0.6246 MB / 481.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.4941, allocations: 340.5 kB / 482.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.506, allocations: 6.361 MB / 488.4 MB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/0.5086, allocations: 2.735 MB / 491.2 MB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.5091, allocations: 131.4 kB / 491.3 MB, free: 1.418 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5091, allocations: 0 / 491.3 MB, free: 1.418 MB / 398.1 MB Notification: Performance of Templates: time 0.04792/0.557, allocations: 35.18 MB / 0.5141 GB, free: 14.32 MB / 446.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/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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches