Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 240.9 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 106.5 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00079/0.0007901, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2451, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008573/0.2537, allocations: 9.597 MB / 409.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.2598, allocations: 2.666 MB / 411.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2615, allocations: 75.75 kB / 411.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006924/0.2684, allocations: 3.982 MB / 415.8 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.2721, allocations: 0.8234 MB / 416.6 MB, free: 16.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2738, allocations: 0.7785 MB / 417.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.2772, allocations: 3.914 MB / 421.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009224/0.2864, allocations: 9.199 MB / 430.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.2889, allocations: 2.138 MB / 432.6 MB, free: 28 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.2926, allocations: 2.577 MB / 435.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008121/0.2935, allocations: 0.5117 MB / 435.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.2951, allocations: 0.7186 MB / 436.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008708/0.2959, allocations: 1.083 MB / 437.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.2988, allocations: 2.4 MB / 439.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00853/0.3073, allocations: 8.733 MB / 448.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3074, allocations: 4 kB / 448.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3074, allocations: 0 / 448.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002193/0.3076, allocations: 0 / 448.7 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.0155/0.3231, allocations: 5.327 MB / 454 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3232, allocations: 8.031 kB / 454 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007227/0.3304, allocations: 1.296 MB / 455.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.3361, allocations: 2.513 MB / 457.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.3364, allocations: 349.3 kB / 458.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.3381, allocations: 456 kB / 458.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.3521, allocations: 6.109 MB / 464.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.3522, allocations: 11.98 kB / 464.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005227/0.3528, allocations: 184 kB / 464.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/0.353, allocations: 193.5 kB / 465.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.364, allocations: 5.292 MB / 470.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/0.4022, allocations: 21.01 MB / 491.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/0.4088, allocations: 5.608 MB / 497 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.41, allocations: 0.6981 MB / 497.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.4102, allocations: 121.9 kB / 497.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.4103, allocations: 43.56 kB / 497.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.988e-06/0.4103, allocations: 0 / 497.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.002458/0.4128, allocations: 1.549 MB / 499.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4128, allocations: 64.41 kB / 499.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.4153, allocations: 1.461 MB / 0.4892 GB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.67e-05/0.4154, allocations: 41.7 kB / 0.4892 GB, free: 9.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.4165, allocations: 1.963 MB / 0.4911 GB, free: 7.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.4169, allocations: 363.1 kB / 0.4915 GB, free: 7.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/0.4176, allocations: 475.8 kB / 0.4919 GB, free: 7.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4178, allocations: 357.9 kB / 0.4923 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4189, allocations: 0.8515 MB / 0.4931 GB, free: 5.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4207, allocations: 1.976 MB / 0.4951 GB, free: 3.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.197/0.6177, allocations: 2.995 MB / 0.498 GB, free: 90.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.352e-05/0.6178, allocations: 10.84 kB / 0.498 GB, free: 90.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004808/0.6226, allocations: 2.873 MB / 0.5008 GB, free: 89.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.6227, allocations: 27.09 kB / 0.5008 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/0.6227, allocations: 41.31 kB / 0.5009 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-05/0.6228, allocations: 51.47 kB / 0.5009 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.6244, allocations: 0.5363 MB / 0.5014 GB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-05/0.6245, allocations: 75.38 kB / 0.5015 GB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6258, allocations: 300.2 kB / 0.5018 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.626, allocations: 126.2 kB / 0.5019 GB, free: 89.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * 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.002169/0.6282, allocations: 1.669 MB / 0.5035 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.6284, allocations: 129.5 kB / 0.5037 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.6309, allocations: 1.428 MB / 0.5051 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001508/0.6324, allocations: 1.007 MB / 0.506 GB, free: 87.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.6324, allocations: 5.953 kB / 0.506 GB, free: 87.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6324, allocations: 7.922 kB / 0.5061 GB, free: 87.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.6442, allocations: 12.24 MB / 0.518 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6443, allocations: 20 kB / 0.518 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.6449, allocations: 207.6 kB / 0.5182 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.6449, allocations: 24 kB / 0.5182 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.645, allocations: 55.92 kB / 0.5183 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.645, allocations: 35.86 kB / 0.5183 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.6451, allocations: 35.89 kB / 0.5184 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.6493, allocations: 4.848 MB / 0.5231 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.6497, allocations: 327.1 kB / 0.5234 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6499, allocations: 47.98 kB / 0.5235 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.6506, allocations: 59.95 kB / 0.5235 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6507, allocations: 135.4 kB / 0.5236 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.6508, allocations: 55.98 kB / 0.5237 GB, free: 75.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009607/0.6517, allocations: 0.9916 MB / 0.5247 GB, free: 74.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6517, allocations: 0 / 0.5247 GB, free: 74.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00233/0.6541, allocations: 1.018 MB / 0.5257 GB, free: 73.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (101): * Single equations (assignments): 97 * 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.0002675/0.6544, allocations: 202.4 kB / 0.5259 GB, free: 72.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.6565, allocations: 1.917 MB / 0.5277 GB, free: 70.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.6565, allocations: 8.062 kB / 0.5277 GB, free: 70.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.6571, allocations: 0.6171 MB / 0.5283 GB, free: 70.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.659, allocations: 371.7 kB / 0.5287 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6694, allocations: 9.3 MB / 0.5378 GB, free: 60.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.6724, allocations: 3.095 MB / 0.5408 GB, free: 57.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001896/0.6743, allocations: 0.8171 MB / 0.5416 GB, free: 56.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.6746, allocations: 111.4 kB / 0.5417 GB, free: 56.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6746, allocations: 0 / 0.5417 GB, free: 56.34 MB / 378.7 MB Notification: Performance of Templates: time 0.03018/0.7048, allocations: 18.15 MB / 0.5594 GB, free: 38.36 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches