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.00155/0.00155, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2872, allocations: 50.55 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009167/0.2964, allocations: 9.128 MB / 418.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.3013, allocations: 2.643 MB / 421 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.302, allocations: 67.81 kB / 421.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007177/0.3093, allocations: 3.737 MB / 424.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.3116, allocations: 0.7607 MB / 425.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3135, allocations: 0.9332 MB / 426.5 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.3166, allocations: 3.626 MB / 430.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009126/0.3258, allocations: 9.51 MB / 439.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.3279, allocations: 2.092 MB / 441.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.3301, allocations: 2.371 MB / 444.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005882/0.3307, allocations: 0.5859 MB / 444.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3319, allocations: 0.8162 MB / 445.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.3328, allocations: 1.111 MB / 446.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.3347, allocations: 2.284 MB / 448.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.3408, allocations: 7.908 MB / 456.8 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3408, allocations: 0 / 456.8 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3408, allocations: 4 kB / 456.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.3409, allocations: 0 / 456.8 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.009497/0.3504, allocations: 4.853 MB / 461.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3505, allocations: 8.031 kB / 461.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007271/0.3578, allocations: 1.296 MB / 463 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.3611, allocations: 2.303 MB / 465.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.3613, allocations: 316.4 kB / 465.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/0.3618, allocations: 408 kB / 466 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008237/0.3701, allocations: 5.473 MB / 471.5 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.3702, allocations: 7.906 kB / 471.5 MB, free: 3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/0.3706, allocations: 175.9 kB / 471.6 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.3707, allocations: 180.6 kB / 471.8 MB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007498/0.3782, allocations: 4.792 MB / 476.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.4011, allocations: 19.28 MB / 495.9 MB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.4053, allocations: 3.891 MB / 499.8 MB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.4064, allocations: 0.777 MB / 0.4888 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.4066, allocations: 191.2 kB / 0.489 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4067, allocations: 47.56 kB / 0.4891 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.876e-06/0.4067, allocations: 0 / 0.4891 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002277/0.4089, allocations: 1.553 MB / 0.4906 GB, free: 2.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.409, allocations: 60.41 kB / 0.4906 GB, free: 2.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.4106, allocations: 1.338 MB / 0.4919 GB, free: 1.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.4107, allocations: 41.7 kB / 0.492 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/0.4116, allocations: 1.761 MB / 0.4937 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.4119, allocations: 363 kB / 0.494 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/0.4125, allocations: 451.3 kB / 0.4945 GB, free: 14.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4126, allocations: 353.9 kB / 0.4948 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4139, allocations: 0.8318 MB / 0.4956 GB, free: 13.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.4156, allocations: 1.823 MB / 0.4974 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.4186, allocations: 2.79 MB / 0.5001 GB, free: 8.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.4186, allocations: 12 kB / 0.5001 GB, free: 8.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003731/0.4223, allocations: 2.731 MB / 0.5028 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4224, allocations: 20 kB / 0.5028 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/0.4224, allocations: 39.98 kB / 0.5029 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.914e-05/0.4225, allocations: 47.98 kB / 0.5029 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.4241, allocations: 0.5226 MB / 0.5034 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.156e-05/0.4241, allocations: 67.72 kB / 0.5035 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4253, allocations: 293.5 kB / 0.5038 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4255, allocations: 116 kB / 0.5039 GB, free: 4.215 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.002011/0.4275, allocations: 1.484 MB / 0.5053 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4277, allocations: 122.5 kB / 0.5054 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.4298, allocations: 1.454 MB / 0.5069 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001348/0.4312, allocations: 1.037 MB / 0.5079 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.4312, allocations: 0 / 0.5079 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4312, allocations: 7.984 kB / 0.5079 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.4462, allocations: 13.74 MB / 0.5213 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.4463, allocations: 20 kB / 0.5213 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.4471, allocations: 231.6 kB / 0.5215 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.452e-05/0.4471, allocations: 24.81 kB / 0.5216 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.4472, allocations: 51.98 kB / 0.5216 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.491e-05/0.4472, allocations: 39.86 kB / 0.5217 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/0.4472, allocations: 31.88 kB / 0.5217 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.4502, allocations: 2.663 MB / 0.5243 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.4507, allocations: 335.2 kB / 0.5246 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4509, allocations: 55.92 kB / 0.5247 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.4517, allocations: 72 kB / 0.5247 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4519, allocations: 147.2 kB / 0.5249 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.4519, allocations: 59.98 kB / 0.5249 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.4532, allocations: 0.9062 MB / 0.5258 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.5258 GB, free: 12.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002381/0.4556, allocations: 0.8624 MB / 0.5267 GB, free: 11.48 MB / 462.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.0003461/0.4559, allocations: 206.6 kB / 0.5268 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.4587, allocations: 1.922 MB / 0.5287 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.4587, allocations: 4 kB / 0.5287 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.4596, allocations: 0.6263 MB / 0.5293 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.4613, allocations: 331.8 kB / 0.5297 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009622/0.471, allocations: 6.38 MB / 0.5359 GB, free: 1.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1932/0.6642, allocations: 2.806 MB / 0.5386 GB, free: 121.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002042/0.6662, allocations: 0.767 MB / 0.5394 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.6665, allocations: 109.1 kB / 0.5395 GB, free: 121.1 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6665, allocations: 1.188 kB / 0.5395 GB, free: 121.1 MB / 462.1 MB Notification: Performance of Templates: time 0.02515/0.6917, allocations: 17.14 MB / 0.5562 GB, free: 113.6 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/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