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.001234/0.001234, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001257/0.001257, allocations: 198 kB / 18.07 MB, free: 5.434 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001113/0.001113, allocations: 59.91 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09647, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01103/0.1076, allocations: 9.58 MB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.1137, allocations: 2.726 MB / 338.9 MB, free: 8.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.1153, allocations: 55.88 kB / 339 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008126/0.1235, allocations: 3.565 MB / 342.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.1278, allocations: 0.9801 MB / 343.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.1302, allocations: 0.7599 MB / 344.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.1351, allocations: 3.793 MB / 348.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.1454, allocations: 8.09 MB / 356.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.1481, allocations: 1.994 MB / 358.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/0.1514, allocations: 2.468 MB / 360.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008792/0.1523, allocations: 471.9 kB / 361.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1539, allocations: 0.6755 MB / 361.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009082/0.1548, allocations: 1.052 MB / 362.8 MB, free: 496 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.1573, allocations: 2.26 MB / 365.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.1646, allocations: 7.981 MB / 373 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1646, allocations: 0 / 373 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1646, allocations: 0 / 373 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002154/0.1648, allocations: 8 kB / 373.1 MB, free: 6.203 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.01521/0.1801, allocations: 5.178 MB / 378.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1801, allocations: 8.031 kB / 378.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1802/0.3603, allocations: 2.564 MB / 380.8 MB, free: 48.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.3654, allocations: 2.163 MB / 383 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/0.3659, allocations: 331 kB / 383.3 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.3677, allocations: 440.5 kB / 383.7 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.3861, allocations: 6.131 MB / 389.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.3863, allocations: 9.562 kB / 389.9 MB, free: 44.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.3875, allocations: 184.9 kB / 390 MB, free: 44.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.3878, allocations: 216 kB / 390.3 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.3986, allocations: 5.802 MB / 396.1 MB, free: 42.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02793/0.4266, allocations: 21.42 MB / 417.5 MB, free: 21.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/0.4329, allocations: 8.994 MB / 426.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.4342, allocations: 1.011 MB / 427.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004847/0.4391, allocations: 3.674 MB / 431.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4391, allocations: 38.56 kB / 431.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.4392, allocations: 0 / 431.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001085/0.4402, allocations: 0.768 MB / 432 MB, free: 5.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4403, allocations: 55.41 kB / 432 MB, free: 5.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.4429, allocations: 1.99 MB / 434 MB, free: 3.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.443, allocations: 29.7 kB / 434 MB, free: 3.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008384/0.4438, allocations: 2.175 MB / 436.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.444, allocations: 170.1 kB / 436.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006661/0.4446, allocations: 0.5471 MB / 436.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.4447, allocations: 345.9 kB / 437.3 MB, free: 320 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.446, allocations: 0.915 MB / 438.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.4484, allocations: 2.287 MB / 440.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.4516, allocations: 3.146 MB / 443.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.331e-05/0.4517, allocations: 12 kB / 443.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004841/0.4566, allocations: 3.211 MB / 446.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.4566, allocations: 32.05 kB / 446.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/0.4567, allocations: 48 kB / 446.9 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-05/0.4568, allocations: 68 kB / 447 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.4584, allocations: 0.5888 MB / 447.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.847e-05/0.4585, allocations: 95.66 kB / 447.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.4604, allocations: 404.2 kB / 448.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.4605, allocations: 152 kB / 448.2 MB, free: 4.012 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 (320): * Single equations (assignments): 316 * 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.002105/0.4627, allocations: 1.57 MB / 449.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.4629, allocations: 134.2 kB / 449.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.4639, allocations: 0.6991 MB / 450.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004814/0.4644, allocations: 406.8 kB / 451 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4644, allocations: 7.984 kB / 451 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4644, allocations: 0 / 451 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/0.4697, allocations: 4.089 MB / 455.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4698, allocations: 4 kB / 455.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.47, allocations: 55.91 kB / 455.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.47, allocations: 8 kB / 455.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.4701, allocations: 12 kB / 455.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.4701, allocations: 16.52 kB / 455.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4701, allocations: 4 kB / 455.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4713, allocations: 1.04 MB / 456.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.4717, allocations: 259.4 kB / 456.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.4719, allocations: 19.84 kB / 456.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.4725, allocations: 51.88 kB / 456.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.4725, allocations: 35.91 kB / 456.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4725, allocations: 15.94 kB / 456.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4741, allocations: 1.339 MB / 457.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4742, allocations: 0 / 457.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002495/0.4767, allocations: 0.9232 MB / 458.9 MB, free: 9.039 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 (29): * Single equations (assignments): 25 * 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.0002713/0.4769, allocations: 160.5 kB / 459 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.4793, allocations: 1.751 MB / 460.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4793, allocations: 0.875 kB / 460.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.4796, allocations: 231.9 kB / 461 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.481, allocations: 282.5 kB / 461.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.4911, allocations: 7.728 MB / 469 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.4935, allocations: 2.896 MB / 471.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001882/0.4954, allocations: 0.771 MB / 472.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.4956, allocations: 103.4 kB / 472.8 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4956, allocations: 4 kB / 472.8 MB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.03118/0.5268, allocations: 17.07 MB / 489.9 MB, free: 9.914 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches