Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 227.7 MB / 247.4 MB, free: 10.52 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 65.05 kB / 307.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1039, allocations: 50.54 MB / 357.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01102/0.115, allocations: 9.023 MB / 367 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.1206, allocations: 2.612 MB / 369.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000954/0.1216, allocations: 67.81 kB / 369.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1795/0.3011, allocations: 3.539 MB / 373.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.3035, allocations: 0.6421 MB / 373.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.3053, allocations: 0.8611 MB / 374.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.309, allocations: 3.593 MB / 378.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.3226, allocations: 11.08 MB / 389.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.3256, allocations: 2.119 MB / 391.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.329, allocations: 2.396 MB / 393.9 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.3305, allocations: 0.5836 MB / 394.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3328, allocations: 0.8204 MB / 395.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.3339, allocations: 1.115 MB / 396.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003288/0.3372, allocations: 2.286 MB / 398.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007712/0.3449, allocations: 6.876 MB / 405.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3449, allocations: 0 / 405.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.345, allocations: 0 / 405.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.3451, allocations: 0 / 405.5 MB, free: 9.922 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.01298/0.3581, allocations: 4.884 MB / 410.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3582, allocations: 8.031 kB / 410.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/0.3662, allocations: 1.294 MB / 411.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004616/0.3709, allocations: 2.228 MB / 414 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.3712, allocations: 312.4 kB / 414.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008011/0.372, allocations: 414 kB / 414.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3837, allocations: 5.489 MB / 420.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.3839, allocations: 15.89 kB / 420.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/0.3843, allocations: 164 kB / 420.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.3845, allocations: 180.6 kB / 420.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/0.3942, allocations: 4.827 MB / 425.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/0.4278, allocations: 19.54 MB / 444.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/0.4332, allocations: 3.93 MB / 448.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.4346, allocations: 0.8189 MB / 449.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.4349, allocations: 204.8 kB / 449.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.4349, allocations: 51.44 kB / 449.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 2.735e-06/0.4349, allocations: 4 kB / 449.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.002735/0.4377, allocations: 1.662 MB / 451.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4377, allocations: 68.34 kB / 451.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.4398, allocations: 1.337 MB / 452.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.4399, allocations: 41.7 kB / 453 MB, free: 9.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.4412, allocations: 1.75 MB / 454.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/0.4416, allocations: 383 kB / 455.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000639/0.4422, allocations: 451.6 kB / 455.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4424, allocations: 353.9 kB / 455.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4437, allocations: 0.867 MB / 456.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.4459, allocations: 1.862 MB / 458.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.4496, allocations: 2.872 MB / 461.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/0.4496, allocations: 8 kB / 461.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004383/0.454, allocations: 2.817 MB / 464.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.4541, allocations: 28 kB / 464.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/0.4541, allocations: 36 kB / 464.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.513e-05/0.4542, allocations: 48 kB / 464.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.4559, allocations: 0.5186 MB / 464.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-05/0.4559, allocations: 67.78 kB / 465 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4573, allocations: 301.2 kB / 465.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.4575, allocations: 108 kB / 465.4 MB, free: 11.82 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002534/0.46, allocations: 1.484 MB / 466.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.4603, allocations: 126.3 kB / 467 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.4629, allocations: 1.548 MB / 468.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001654/0.4646, allocations: 1.115 MB / 469.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4646, allocations: 0 / 469.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4646, allocations: 3.984 kB / 469.7 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.4839, allocations: 13.83 MB / 483.5 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/0.4839, allocations: 24.03 kB / 483.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.4848, allocations: 231.5 kB / 483.8 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.134e-05/0.4848, allocations: 28 kB / 483.8 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.4849, allocations: 51.98 kB / 483.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.588e-05/0.485, allocations: 39.86 kB / 483.9 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-05/0.485, allocations: 39.75 kB / 483.9 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.4889, allocations: 2.795 MB / 486.7 MB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/0.4897, allocations: 343.1 kB / 487.1 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4899, allocations: 47.98 kB / 487.1 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.4908, allocations: 75.88 kB / 487.2 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.491, allocations: 135.5 kB / 487.3 MB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/0.4911, allocations: 60 kB / 487.4 MB, free: 4.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001799/0.4929, allocations: 0.9101 MB / 488.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4929, allocations: 0 / 488.3 MB, free: 3.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003477/0.4964, allocations: 0.8701 MB / 489.1 MB, free: 2.707 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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005033/0.4969, allocations: 212.8 kB / 489.4 MB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.5003, allocations: 2.02 MB / 491.4 MB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.5003, allocations: 4 kB / 491.4 MB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009847/0.5013, allocations: 0.6765 MB / 492.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5033, allocations: 350.3 kB / 492.4 MB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.5145, allocations: 8.009 MB / 0.4887 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/0.5172, allocations: 2.735 MB / 0.4913 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.5177, allocations: 131.4 kB / 0.4915 GB, free: 4.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5177, allocations: 4 kB / 0.4915 GB, free: 4.227 MB / 414.1 MB Notification: Performance of Templates: time 0.05346/0.5712, allocations: 35.52 MB / 0.5262 GB, free: 0.793 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches