Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 105.5 kB / 18.39 MB, free: 4.703 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.001071/0.001071, allocations: 191 kB / 19.33 MB, free: 3.781 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.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001238/0.001238, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1005, allocations: 46.6 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.2337/0.3342, allocations: 10.09 MB / 385.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.3406, allocations: 2.815 MB / 388.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.3425, allocations: 67.69 kB / 388.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008787/0.3513, allocations: 4.202 MB / 393 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.3561, allocations: 1.043 MB / 394 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.3585, allocations: 0.8241 MB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005763/0.3643, allocations: 4.286 MB / 399.1 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/0.3811, allocations: 11.01 MB / 410.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004904/0.3861, allocations: 2.452 MB / 412.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0064/0.3925, allocations: 2.795 MB / 415.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002244/0.3948, allocations: 0.6758 MB / 416.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.3981, allocations: 0.8865 MB / 417 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.3993, allocations: 1.325 MB / 418.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.4027, allocations: 2.669 MB / 420.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00895/0.4117, allocations: 9.083 MB / 430 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4117, allocations: 0 / 430 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4117, allocations: 0 / 430 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002397/0.412, allocations: 0 / 430 MB, free: 9.387 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01512/0.4271, allocations: 5.574 MB / 435.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4272, allocations: 8.031 kB / 435.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/0.4405, allocations: 2.384 MB / 438 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/0.4459, allocations: 2.369 MB / 440.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.4462, allocations: 369.8 kB / 440.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.4474, allocations: 483.9 kB / 441.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.4602, allocations: 6.639 MB / 447.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.4604, allocations: 8 kB / 447.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00046/0.4608, allocations: 200 kB / 448 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.4611, allocations: 230.1 kB / 448.3 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.4726, allocations: 6.11 MB / 454.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.5073, allocations: 22.34 MB / 476.7 MB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009898/0.5173, allocations: 10.79 MB / 487.5 MB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.5185, allocations: 0.811 MB / 488.3 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004786/0.5233, allocations: 3.394 MB / 491.7 MB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5234, allocations: 30.56 kB / 491.7 MB, free: 8.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.5234, allocations: 4 kB / 491.8 MB, free: 8.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004952/0.5239, allocations: 235.8 kB / 492 MB, free: 8.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.5239, allocations: 59.34 kB / 492 MB, free: 8.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.5266, allocations: 2.129 MB / 494.2 MB, free: 6.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5266, allocations: 25.7 kB / 494.2 MB, free: 6.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.528, allocations: 2.382 MB / 496.6 MB, free: 3.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.5281, allocations: 71.66 kB / 496.6 MB, free: 3.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006827/0.5288, allocations: 0.5467 MB / 497.2 MB, free: 3.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5289, allocations: 357.9 kB / 497.5 MB, free: 2.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.53, allocations: 0.8089 MB / 498.4 MB, free: 2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.5319, allocations: 2.235 MB / 0.4889 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.5349, allocations: 2.964 MB / 0.4917 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.5349, allocations: 12 kB / 0.4918 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004294/0.5392, allocations: 3.016 MB / 0.4947 GB, free: 8.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.5393, allocations: 28 kB / 0.4947 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/0.5394, allocations: 52 kB / 0.4948 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.367e-05/0.5394, allocations: 71.97 kB / 0.4949 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.541, allocations: 0.5732 MB / 0.4954 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.031e-05/0.5411, allocations: 99.59 kB / 0.4955 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5429, allocations: 400.2 kB / 0.4959 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.5431, allocations: 152.2 kB / 0.496 GB, free: 6.977 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.002522/0.5457, allocations: 1.726 MB / 0.4977 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.5459, allocations: 134.2 kB / 0.4978 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.5463, allocations: 247 kB / 0.4981 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.5464, allocations: 97.66 kB / 0.4982 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5464, allocations: 3.938 kB / 0.4982 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5465, allocations: 0 / 0.4982 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.5508, allocations: 3.041 MB / 0.5011 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5508, allocations: 7.969 kB / 0.5012 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.5509, allocations: 19.92 kB / 0.5012 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5509, allocations: 0 / 0.5012 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.551, allocations: 0 / 0.5012 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.551, allocations: 4 kB / 0.5012 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.551, allocations: 0 / 0.5012 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.5514, allocations: 362.4 kB / 0.5015 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.5518, allocations: 227.4 kB / 0.5017 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5519, allocations: 8 kB / 0.5017 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.5524, allocations: 23.97 kB / 0.5018 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.5524, allocations: 3.984 kB / 0.5018 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.5524, allocations: 4 kB / 0.5018 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.5542, allocations: 1.4 MB / 0.5031 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5542, allocations: 4 kB / 0.5031 GB, free: 15.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002743/0.5569, allocations: 0.9902 MB / 0.5041 GB, free: 14.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002745/0.5572, allocations: 135.1 kB / 0.5042 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.5594, allocations: 1.473 MB / 0.5057 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5594, allocations: 4.812 kB / 0.5057 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.5595, allocations: 35.98 kB / 0.5057 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.5611, allocations: 341.3 kB / 0.506 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5717, allocations: 5.945 MB / 0.5119 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002485/0.5742, allocations: 3.044 MB / 0.5148 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.5746, allocations: 127.4 kB / 0.5149 GB, free: 3.422 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5746, allocations: 0 / 0.5149 GB, free: 3.422 MB / 446.1 MB Notification: Performance of Templates: time 0.2809/0.8556, allocations: 40.41 MB / 0.5544 GB, free: 145.8 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches