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.001407/0.001407, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001585/0.001585, allocations: 188 kB / 18 MB, free: 5.219 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 49.42 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009922/0.2867, allocations: 9.13 MB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.2926, allocations: 2.573 MB / 412.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.2945, allocations: 67.81 kB / 412.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008448/0.3031, allocations: 3.745 MB / 416.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.3068, allocations: 0.9048 MB / 417.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.3091, allocations: 0.7958 MB / 417.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004329/0.3135, allocations: 3.63 MB / 421.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.3282, allocations: 9.519 MB / 431.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.3316, allocations: 2.085 MB / 433.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005533/0.3372, allocations: 2.383 MB / 435.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.3393, allocations: 0.582 MB / 436.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.3424, allocations: 0.7967 MB / 436.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.3443, allocations: 1.11 MB / 438 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.3483, allocations: 2.272 MB / 440.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00872/0.3571, allocations: 7.888 MB / 448.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3571, allocations: 0 / 448.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3571, allocations: 0 / 448.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002278/0.3573, allocations: 4 kB / 448.2 MB, free: 9.184 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.01402/0.3714, allocations: 4.849 MB / 453.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3714, allocations: 11.89 kB / 453.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007935/0.3794, allocations: 1.273 MB / 454.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.3841, allocations: 2.314 MB / 456.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.3844, allocations: 312.4 kB / 457 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.3854, allocations: 412 kB / 457.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.3963, allocations: 5.469 MB / 462.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.251e-05/0.3964, allocations: 4 kB / 462.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.3968, allocations: 164 kB / 463 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.397, allocations: 180.6 kB / 463.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009056/0.4061, allocations: 4.796 MB / 468 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.4411, allocations: 19.05 MB / 487 MB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00743/0.4486, allocations: 3.899 MB / 490.9 MB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.4509, allocations: 0.7731 MB / 491.7 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.4512, allocations: 110.1 kB / 491.8 MB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.4513, allocations: 43.5 kB / 491.8 MB, free: 12.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.05e-06/0.4513, allocations: 0 / 491.8 MB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.004314/0.4557, allocations: 1.553 MB / 493.4 MB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.4557, allocations: 64.41 kB / 493.5 MB, free: 10.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.4588, allocations: 1.334 MB / 494.8 MB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.316e-05/0.4589, allocations: 41.7 kB / 494.8 MB, free: 9.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.4607, allocations: 1.761 MB / 496.6 MB, free: 7.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.4611, allocations: 363 kB / 496.9 MB, free: 7.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000978/0.4621, allocations: 443.4 kB / 497.4 MB, free: 6.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4623, allocations: 353.9 kB / 497.7 MB, free: 6.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.4645, allocations: 0.8279 MB / 498.6 MB, free: 5.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.4676, allocations: 1.831 MB / 0.4887 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.4731, allocations: 2.79 MB / 0.4914 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/0.4731, allocations: 8 kB / 0.4914 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00522/0.4783, allocations: 2.738 MB / 0.4941 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.4784, allocations: 22.81 kB / 0.4941 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.4784, allocations: 36.88 kB / 0.4941 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.4785, allocations: 44 kB / 0.4942 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.48, allocations: 0.5265 MB / 0.4947 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.992e-05/0.4801, allocations: 63.78 kB / 0.4947 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4812, allocations: 293.2 kB / 0.495 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.4814, allocations: 116 kB / 0.4951 GB, free: 11.99 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.001928/0.4833, allocations: 1.492 MB / 0.4966 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.4836, allocations: 122.5 kB / 0.4967 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.4857, allocations: 1.454 MB / 0.4981 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001385/0.4871, allocations: 1.033 MB / 0.4991 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4871, allocations: 0 / 0.4991 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.4871, allocations: 3.984 kB / 0.4991 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.5021, allocations: 12.29 MB / 0.5111 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.5022, allocations: 20 kB / 0.5112 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.5029, allocations: 231.5 kB / 0.5114 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/0.503, allocations: 28 kB / 0.5114 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.503, allocations: 47.94 kB / 0.5114 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.68e-05/0.5031, allocations: 39.86 kB / 0.5115 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/0.5031, allocations: 39.8 kB / 0.5115 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.5063, allocations: 2.652 MB / 0.5141 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.5069, allocations: 331.2 kB / 0.5144 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.5071, allocations: 47.98 kB / 0.5145 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.5078, allocations: 71.94 kB / 0.5145 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.508, allocations: 143.4 kB / 0.5147 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5081, allocations: 59.98 kB / 0.5147 GB, free: 6.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.5094, allocations: 0.9101 MB / 0.5156 GB, free: 5.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5094, allocations: 0 / 0.5156 GB, free: 5.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002559/0.5119, allocations: 0.8662 MB / 0.5165 GB, free: 5.055 MB / 446.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.0003776/0.5123, allocations: 222.5 kB / 0.5167 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.5151, allocations: 1.919 MB / 0.5186 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5151, allocations: 4.312 kB / 0.5186 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000839/0.516, allocations: 0.6293 MB / 0.5192 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.5178, allocations: 343.4 kB / 0.5195 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009798/0.5276, allocations: 6.384 MB / 0.5257 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.53, allocations: 2.801 MB / 0.5285 GB, free: 8.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001606/0.5317, allocations: 0.7692 MB / 0.5292 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5319, allocations: 107.4 kB / 0.5293 GB, free: 7.516 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5319, allocations: 4 kB / 0.5293 GB, free: 7.512 MB / 462.1 MB Notification: Performance of Templates: time 0.2198/0.7517, allocations: 17.23 MB / 0.5462 GB, free: 124.9 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches