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.0009777/0.0009778, allocations: 101.6 kB / 17.01 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002151/0.0002151, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09886, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007763/0.1067, allocations: 7.825 MB / 366.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1105, allocations: 2.399 MB / 368.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.111, allocations: 63.81 kB / 368.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.1118, allocations: 385.7 kB / 369.3 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.1132, allocations: 0.6064 MB / 369.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1146, allocations: 0.7392 MB / 370.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1686/0.2832, allocations: 3.32 MB / 374 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01474/0.298, allocations: 8.135 MB / 382.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.3011, allocations: 1.456 MB / 383.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.3046, allocations: 1.674 MB / 385.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3057, allocations: 242.7 kB / 385.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.308, allocations: 459.1 kB / 385.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.3089, allocations: 0.6529 MB / 386.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.3102, allocations: 0.7804 MB / 387.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.3159, allocations: 6.652 MB / 394 MB, free: 4.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3159, allocations: 5.469 kB / 394 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3159, allocations: 0 / 394 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.316, allocations: 0 / 394 MB, free: 4.23 MB / 302.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.008687/0.3247, allocations: 4.045 MB / 398 MB, free: 1.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3248, allocations: 8.625 kB / 398.1 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/0.3322, allocations: 1.296 MB / 399.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.3352, allocations: 2.215 MB / 401.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.3355, allocations: 312.3 kB / 401.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/0.3361, allocations: 406.2 kB / 402.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009404/0.3455, allocations: 5.462 MB / 407.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/0.3456, allocations: 7.906 kB / 407.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.3459, allocations: 165.7 kB / 407.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.3461, allocations: 184.6 kB / 408.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/0.3537, allocations: 4.781 MB / 412.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.3789, allocations: 19.6 MB / 432.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.3833, allocations: 3.926 MB / 436.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.3845, allocations: 0.8373 MB / 437.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.3847, allocations: 194.9 kB / 437.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3848, allocations: 43.56 kB / 437.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.775e-06/0.3848, allocations: 0 / 437.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002461/0.3873, allocations: 1.662 MB / 439.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3873, allocations: 60.41 kB / 439.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.3892, allocations: 1.33 MB / 440.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.3893, allocations: 41.7 kB / 440.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.3904, allocations: 1.755 MB / 442.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.3908, allocations: 381.1 kB / 442.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.3909, allocations: 44 kB / 442.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.3911, allocations: 439.1 kB / 443.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.3924, allocations: 0.8592 MB / 444 MB, free: 4.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.3942, allocations: 1.862 MB / 445.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.3959, allocations: 1.303 MB / 447.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.3959, allocations: 16 kB / 447.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004142/0.4001, allocations: 2.798 MB / 450 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4001, allocations: 23.94 kB / 450 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.389e-05/0.4001, allocations: 32 kB / 450 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.296e-05/0.4002, allocations: 55.98 kB / 450.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.4018, allocations: 0.5186 MB / 450.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.502e-05/0.4018, allocations: 70.41 kB / 450.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4031, allocations: 293.5 kB / 451 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.4033, allocations: 112 kB / 451.1 MB, free: 12.61 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002323/0.4056, allocations: 1.495 MB / 452.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.4058, allocations: 126.4 kB / 452.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4081, allocations: 1.532 MB / 454.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001445/0.4096, allocations: 1.111 MB / 455.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4096, allocations: 0 / 455.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4096, allocations: 7.969 kB / 455.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.4276, allocations: 13.83 MB / 469.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/0.4277, allocations: 24 kB / 469.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.4285, allocations: 227.5 kB / 469.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.4286, allocations: 28 kB / 469.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.4287, allocations: 52 kB / 469.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.649e-05/0.4288, allocations: 43.81 kB / 469.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/0.4288, allocations: 35.81 kB / 469.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.4324, allocations: 2.782 MB / 472.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/0.4333, allocations: 343.1 kB / 472.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.4337, allocations: 51.98 kB / 472.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.4345, allocations: 75.89 kB / 472.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4347, allocations: 143.5 kB / 473 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.4348, allocations: 63.98 kB / 473 MB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.4363, allocations: 0.8945 MB / 473.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.223e-06/0.4364, allocations: 0 / 473.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002838/0.4392, allocations: 0.8767 MB / 474.8 MB, free: 3.523 MB / 382.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004629/0.4397, allocations: 205.3 kB / 475 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.4427, allocations: 1.943 MB / 476.9 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4427, allocations: 8.062 kB / 476.9 MB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.4436, allocations: 0.6677 MB / 477.6 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.4459, allocations: 335.5 kB / 477.9 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.4576, allocations: 7.806 MB / 485.7 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.4603, allocations: 2.801 MB / 488.5 MB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001945/0.4623, allocations: 0.7656 MB / 489.3 MB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.4625, allocations: 116.8 kB / 489.4 MB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4626, allocations: 0 / 489.4 MB, free: 4.52 MB / 398.1 MB Notification: Performance of Templates: time 0.03128/0.4938, allocations: 16.11 MB / 0.4937 GB, free: 4.555 MB / 414.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/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches