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.00127/0.00127, allocations: 107.8 kB / 17.16 MB, free: 6.312 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.001085/0.001085, allocations: 194 kB / 18.08 MB, free: 5.406 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.453/1.453, allocations: 205.1 MB / 223.9 MB, free: 12.52 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.001181/0.001181, allocations: 51.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09537, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009639/0.105, allocations: 9.948 MB / 336.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.1111, allocations: 2.796 MB / 339.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.1133, allocations: 59.81 kB / 339.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009672/0.123, allocations: 3.993 MB / 343.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.1282, allocations: 0.9372 MB / 344.3 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.1309, allocations: 0.7832 MB / 345.1 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.1373, allocations: 4.132 MB / 349.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.1523, allocations: 9.233 MB / 358.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.1556, allocations: 2.216 MB / 360.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/0.1614, allocations: 2.706 MB / 363.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.1629, allocations: 0.5195 MB / 363.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.1653, allocations: 0.7341 MB / 364.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.1668, allocations: 1.157 MB / 365.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.1708, allocations: 2.497 MB / 368.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.1823, allocations: 8.912 MB / 377.2 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1823, allocations: 0 / 377.2 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1823, allocations: 0 / 377.2 MB, free: 2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001859/0.1825, allocations: 0 / 377.2 MB, free: 2 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.2252/0.4077, allocations: 5.588 MB / 382.8 MB, free: 48.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4078, allocations: 8.688 kB / 382.8 MB, free: 48.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.4238, allocations: 2.388 MB / 385.2 MB, free: 47.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006768/0.4306, allocations: 2.382 MB / 387.6 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005133/0.4312, allocations: 367.2 kB / 388 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.4334, allocations: 475.1 kB / 388.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.4544, allocations: 6.664 MB / 395.1 MB, free: 42.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/0.4547, allocations: 1.375 kB / 395.1 MB, free: 42.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/0.4566, allocations: 207.3 kB / 395.3 MB, free: 42.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.4569, allocations: 232 kB / 395.5 MB, free: 42.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.4698, allocations: 6.137 MB / 401.6 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.5035, allocations: 22.63 MB / 424.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/0.5121, allocations: 10.82 MB / 435.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5136, allocations: 0.8578 MB / 436 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005728/0.5193, allocations: 3.515 MB / 439.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5194, allocations: 38.5 kB / 439.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.5194, allocations: 0 / 439.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007903/0.5202, allocations: 335.9 kB / 439.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.5203, allocations: 51.41 kB / 439.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.5237, allocations: 2.145 MB / 442 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.5238, allocations: 25.7 kB / 442.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.5256, allocations: 2.37 MB / 444.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.5257, allocations: 95.25 kB / 444.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009588/0.5267, allocations: 0.5507 MB / 445.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5269, allocations: 357.9 kB / 445.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5282, allocations: 0.848 MB / 446.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.5307, allocations: 2.274 MB / 448.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.534, allocations: 3.04 MB / 451.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.903e-05/0.5341, allocations: 19.94 kB / 451.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005168/0.5393, allocations: 3.092 MB / 454.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.5393, allocations: 28 kB / 454.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-05/0.5394, allocations: 51.98 kB / 454.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.017e-05/0.5395, allocations: 68 kB / 454.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5412, allocations: 0.5693 MB / 455.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.677e-05/0.5413, allocations: 103.7 kB / 455.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.5436, allocations: 400.8 kB / 455.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.5439, allocations: 148 kB / 456 MB, free: 10.9 MB / 350.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 (310): * Single equations (assignments): 306 * 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.00301/0.5469, allocations: 1.726 MB / 457.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.5472, allocations: 138.2 kB / 457.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.5478, allocations: 325.7 kB / 458.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002044/0.548, allocations: 161.6 kB / 458.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.548, allocations: 3.938 kB / 458.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.548, allocations: 0 / 458.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.5544, allocations: 3.156 MB / 461.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5544, allocations: 3.984 kB / 461.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.5545, allocations: 8 kB / 461.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5545, allocations: 3.984 kB / 461.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5546, allocations: 8.031 kB / 461.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.5546, allocations: 0 / 461.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5546, allocations: 0 / 461.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.5554, allocations: 496.8 kB / 462.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.5559, allocations: 227.4 kB / 462.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.5562, allocations: 3.984 kB / 462.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.5567, allocations: 28.03 kB / 462.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.5568, allocations: 11.98 kB / 462.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.5568, allocations: 8 kB / 462.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002047/0.5589, allocations: 1.4 MB / 463.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.5589, allocations: 0 / 463.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002907/0.5618, allocations: 0.9929 MB / 464.7 MB, free: 2.113 MB / 350.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 (10): * Single equations (assignments): 6 * 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.0002971/0.5621, allocations: 140.4 kB / 464.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.5646, allocations: 1.544 MB / 466.4 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5646, allocations: 0 / 466.4 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.5647, allocations: 80.33 kB / 466.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.5665, allocations: 314.5 kB / 466.8 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.5824, allocations: 8.073 MB / 474.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005017/0.5874, allocations: 3.132 MB / 478 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002275/0.5897, allocations: 0.7945 MB / 478.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.5901, allocations: 99.42 kB / 478.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of SimCode: time 3.227e-06/0.5901, allocations: 0 / 478.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of Templates: time 0.03433/0.6244, allocations: 17.22 MB / 496.1 MB, free: 2.664 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches