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.001551/0.001552, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001777/0.001778, allocations: 191 kB / 18 MB, free: 5.098 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009043/0.0009044, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2673, allocations: 49.42 MB / 400.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009605/0.2769, allocations: 9.135 MB / 409.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.2822, allocations: 2.573 MB / 412.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.284, allocations: 67.81 kB / 412.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008447/0.2925, allocations: 3.737 MB / 416.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.2961, allocations: 0.9009 MB / 417.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.2983, allocations: 0.8037 MB / 417.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.3029, allocations: 3.622 MB / 421.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.3153, allocations: 9.51 MB / 431.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.3185, allocations: 2.085 MB / 433.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.3223, allocations: 2.379 MB / 435.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.3239, allocations: 0.5898 MB / 436.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.3261, allocations: 0.7927 MB / 436.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.3276, allocations: 1.111 MB / 438 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.331, allocations: 2.276 MB / 440.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.3385, allocations: 7.901 MB / 448.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3385, allocations: 4 kB / 448.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3385, allocations: 0 / 448.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.3387, allocations: 4 kB / 448.2 MB, free: 9.207 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.01184/0.3505, allocations: 4.937 MB / 453.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3506, allocations: 11.89 kB / 453.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007422/0.358, allocations: 1.279 MB / 454.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.3616, allocations: 2.327 MB / 456.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.3618, allocations: 312.4 kB / 457.1 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.3624, allocations: 419.9 kB / 457.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009177/0.3716, allocations: 5.465 MB / 462.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-05/0.3717, allocations: 3.953 kB / 462.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003938/0.3721, allocations: 176 kB / 463.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.3722, allocations: 176.6 kB / 463.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007579/0.3798, allocations: 4.8 MB / 468.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.4053, allocations: 19.09 MB / 487.2 MB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.4103, allocations: 3.891 MB / 491.1 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.4116, allocations: 0.7809 MB / 491.9 MB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.4118, allocations: 114.1 kB / 492 MB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4119, allocations: 43.56 kB / 492 MB, free: 12.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.577e-06/0.4119, allocations: 0 / 492 MB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002444/0.4143, allocations: 1.554 MB / 493.6 MB, free: 10.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4144, allocations: 64.41 kB / 493.6 MB, free: 10.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.4165, allocations: 1.342 MB / 495 MB, free: 9.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.4166, allocations: 41.7 kB / 495 MB, free: 9.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.4177, allocations: 1.827 MB / 496.8 MB, free: 7.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.418, allocations: 380.9 kB / 497.2 MB, free: 6.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006436/0.4186, allocations: 455.6 kB / 497.7 MB, free: 6.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4188, allocations: 349.9 kB / 498 MB, free: 6.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.42, allocations: 0.8279 MB / 498.8 MB, free: 5.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.4218, allocations: 1.827 MB / 0.4889 GB, free: 2.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.4249, allocations: 2.794 MB / 0.4916 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.849e-05/0.425, allocations: 12 kB / 0.4917 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004162/0.4291, allocations: 2.739 MB / 0.4943 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.4292, allocations: 20 kB / 0.4944 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/0.4293, allocations: 32 kB / 0.4944 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.834e-05/0.4293, allocations: 48.81 kB / 0.4944 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.431, allocations: 0.5226 MB / 0.4949 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.17e-05/0.4311, allocations: 71.72 kB / 0.495 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4326, allocations: 286 kB / 0.4953 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.4328, allocations: 116 kB / 0.4954 GB, free: 11.75 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.0021/0.4349, allocations: 1.496 MB / 0.4969 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.4351, allocations: 127.2 kB / 0.497 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4375, allocations: 1.454 MB / 0.4984 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001402/0.4389, allocations: 1.033 MB / 0.4994 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4389, allocations: 0 / 0.4994 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.439, allocations: 7.984 kB / 0.4994 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.4554, allocations: 12.3 MB / 0.5114 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.026e-05/0.4555, allocations: 23.98 kB / 0.5114 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.4564, allocations: 231.6 kB / 0.5117 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/0.4564, allocations: 24 kB / 0.5117 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.774e-05/0.4565, allocations: 52 kB / 0.5117 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.642e-05/0.4565, allocations: 47.78 kB / 0.5118 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.188e-05/0.4566, allocations: 31.88 kB / 0.5118 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.4597, allocations: 2.652 MB / 0.5144 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.4603, allocations: 339.9 kB / 0.5147 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4606, allocations: 47.98 kB / 0.5148 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/0.4614, allocations: 67.94 kB / 0.5148 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.4616, allocations: 147.3 kB / 0.515 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.4617, allocations: 60 kB / 0.515 GB, free: 6.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.4631, allocations: 0.9101 MB / 0.5159 GB, free: 5.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4631, allocations: 0 / 0.5159 GB, free: 5.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4657, allocations: 0.8793 MB / 0.5168 GB, free: 4.773 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.0003875/0.4661, allocations: 206.6 kB / 0.517 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.4691, allocations: 1.923 MB / 0.5189 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.4691, allocations: 4 kB / 0.5189 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.4701, allocations: 0.6316 MB / 0.5195 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.4723, allocations: 345.7 kB / 0.5198 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.4834, allocations: 6.479 MB / 0.5261 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.4864, allocations: 2.805 MB / 0.5289 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001905/0.4884, allocations: 0.7615 MB / 0.5296 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.4888, allocations: 107.4 kB / 0.5297 GB, free: 7.145 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4888, allocations: 0 / 0.5297 GB, free: 7.145 MB / 462.1 MB Notification: Performance of Templates: time 0.2347/0.7235, allocations: 17.25 MB / 0.5466 GB, free: 124.8 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