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.001157/0.001157, allocations: 94.67 kB / 16.3 MB, free: 5.996 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.001388/0.001388, allocations: 179.5 kB / 17.2 MB, free: 5.914 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.299/1.299, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002246, allocations: 6.812 kB / 300.7 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08359, allocations: 50.43 MB / 351.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00677/0.09039, allocations: 7.328 MB / 358.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.09437, allocations: 2.403 MB / 360.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/0.09516, allocations: 55.88 kB / 360.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000935/0.09611, allocations: 401.7 kB / 361.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.09787, allocations: 0.7594 MB / 362.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.09914, allocations: 0.624 MB / 362.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.1016, allocations: 2.419 MB / 365.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.1126, allocations: 8.055 MB / 373.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1147, allocations: 1.355 MB / 374.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.1164, allocations: 1.548 MB / 376.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.1167, allocations: 240 kB / 376.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.1176, allocations: 415.8 kB / 376.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.1181, allocations: 0.6424 MB / 377.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.1188, allocations: 0.7811 MB / 378.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005333/0.1242, allocations: 6.626 MB / 384.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1242, allocations: 0 / 384.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.1242, allocations: 7.984 kB / 384.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.1244, allocations: 0 / 384.8 MB, free: 10.08 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.008532/0.1329, allocations: 4.037 MB / 388.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1329, allocations: 8.031 kB / 388.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00718/0.1401, allocations: 1.268 MB / 390.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.1442, allocations: 2.209 MB / 392.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.1444, allocations: 308.4 kB / 392.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005565/0.145, allocations: 412 kB / 393 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.1557, allocations: 5.43 MB / 398.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.025e-05/0.1558, allocations: 7.906 kB / 398.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.1562, allocations: 168 kB / 398.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.1563, allocations: 184.6 kB / 398.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008375/0.1647, allocations: 4.781 MB / 403.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02514/0.1899, allocations: 19.35 MB / 422.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.176/0.3659, allocations: 3.935 MB / 426.9 MB, free: 55.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.3662, allocations: 114.3 kB / 427 MB, free: 55.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3663, allocations: 45.78 kB / 427 MB, free: 55.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.266e-06/0.3663, allocations: 0.875 kB / 427 MB, free: 55.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002516/0.3688, allocations: 2.005 MB / 429 MB, free: 55.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3688, allocations: 64.16 kB / 429.1 MB, free: 55.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.3706, allocations: 1.329 MB / 430.4 MB, free: 55.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.3707, allocations: 43.41 kB / 430.5 MB, free: 55.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009696/0.3716, allocations: 1.749 MB / 432.2 MB, free: 54.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.3719, allocations: 383.2 kB / 432.6 MB, free: 53.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.372, allocations: 43.06 kB / 432.6 MB, free: 53.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3722, allocations: 442 kB / 433 MB, free: 53.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.3735, allocations: 0.8672 MB / 433.9 MB, free: 53.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.3757, allocations: 1.861 MB / 435.8 MB, free: 52.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.3777, allocations: 1.322 MB / 437.1 MB, free: 52.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/0.3778, allocations: 9.75 kB / 437.1 MB, free: 52.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004232/0.382, allocations: 2.816 MB / 439.9 MB, free: 51.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.3821, allocations: 19.34 kB / 439.9 MB, free: 51.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.3821, allocations: 35.95 kB / 440 MB, free: 51.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.25e-05/0.3822, allocations: 53 kB / 440 MB, free: 51.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.3838, allocations: 0.5187 MB / 440.5 MB, free: 51.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.927e-05/0.3838, allocations: 71.55 kB / 440.6 MB, free: 51.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3851, allocations: 289.3 kB / 440.9 MB, free: 51.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.3853, allocations: 120.7 kB / 441 MB, free: 51.67 MB / 350.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.002148/0.3875, allocations: 1.486 MB / 442.5 MB, free: 51.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3876, allocations: 122.4 kB / 442.6 MB, free: 51.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.3896, allocations: 1.554 MB / 444.2 MB, free: 50.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001181/0.3908, allocations: 1.132 MB / 445.3 MB, free: 50.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3908, allocations: 0 / 445.3 MB, free: 50.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3908, allocations: 7.359 kB / 445.3 MB, free: 50.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.4032, allocations: 12.59 MB / 457.9 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.4032, allocations: 24.03 kB / 457.9 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.404, allocations: 231.6 kB / 458.2 MB, free: 42.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/0.404, allocations: 32.44 kB / 458.2 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.4041, allocations: 51.98 kB / 458.2 MB, free: 42.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.4041, allocations: 35.86 kB / 458.3 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/0.4041, allocations: 35.11 kB / 458.3 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.4069, allocations: 3.954 MB / 462.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.4075, allocations: 343.2 kB / 462.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.4076, allocations: 51.98 kB / 462.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.4083, allocations: 67.94 kB / 462.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4085, allocations: 143.5 kB / 462.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.4086, allocations: 56 kB / 462.9 MB, free: 37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.4096, allocations: 0.8983 MB / 463.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4097, allocations: 0 / 463.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002181/0.4118, allocations: 0.8629 MB / 464.7 MB, free: 35.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * 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 (107): * Single equations (assignments): 103 * 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.0002847/0.4121, allocations: 220.4 kB / 464.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.4145, allocations: 1.957 MB / 466.8 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.4145, allocations: 4 kB / 466.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007152/0.4152, allocations: 0.6765 MB / 467.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.4166, allocations: 319.3 kB / 467.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/0.4254, allocations: 7.8 MB / 475.6 MB, free: 23.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.4275, allocations: 2.871 MB / 478.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00165/0.4292, allocations: 0.7616 MB / 479.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.4294, allocations: 107.4 kB / 479.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4294, allocations: 0 / 479.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of Templates: time 0.02478/0.4542, allocations: 16.14 MB / 495.5 MB, free: 4.172 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches