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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006283/0.0006283, allocations: 93.67 kB / 17.31 MB, free: 5.59 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.0006648/0.0006648, allocations: 175.9 kB / 18.21 MB, free: 5.195 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.108/1.108, allocations: 223.3 MB / 242.3 MB, free: 14.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002119/0.0002119, allocations: 17.33 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07064, allocations: 50.41 MB / 352.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.00779/0.07844, allocations: 8.971 MB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.08252, allocations: 2.639 MB / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008882/0.08342, allocations: 71.75 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.08452, allocations: 0.5755 MB / 364.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.08662, allocations: 0.8195 MB / 365.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.08809, allocations: 0.7624 MB / 366.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.09149, allocations: 3.84 MB / 370.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1316/0.2231, allocations: 11.08 MB / 381.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.2248, allocations: 1.633 MB / 382.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2265, allocations: 1.939 MB / 384.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.2268, allocations: 273.6 kB / 385.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/0.2277, allocations: 493.9 kB / 385.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.2282, allocations: 0.7321 MB / 386.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.2295, allocations: 2.026 MB / 388.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.2336, allocations: 7.495 MB / 395.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2336, allocations: 4 kB / 395.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2336, allocations: 1.156 kB / 395.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.2337, allocations: 0 / 395.8 MB, free: 1.461 MB / 302.1 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.007786/0.2415, allocations: 4.356 MB / 400.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.2415, allocations: 9.719 kB / 400.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/0.2478, allocations: 1.292 MB / 401.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.2508, allocations: 2.51 MB / 404 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.251, allocations: 347 kB / 404.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/0.2515, allocations: 465.2 kB / 404.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008558/0.2601, allocations: 6.11 MB / 410.9 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.61e-05/0.2602, allocations: 7.984 kB / 410.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.2606, allocations: 187.1 kB / 411.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.2607, allocations: 193.5 kB / 411.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007218/0.268, allocations: 5.292 MB / 416.6 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02192/0.2899, allocations: 21.07 MB / 437.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/0.2955, allocations: 5.596 MB / 443.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/0.2964, allocations: 0.7059 MB / 444 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.2965, allocations: 112.1 kB / 444.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2966, allocations: 46.19 kB / 444.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 2.545e-06/0.2966, allocations: 0 / 444.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.001989/0.2986, allocations: 1.549 MB / 445.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2986, allocations: 64.41 kB / 445.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.3002, allocations: 1.458 MB / 447.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.3002, allocations: 44.33 kB / 447.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.3013, allocations: 1.962 MB / 449.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.3015, allocations: 368.5 kB / 449.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3017, allocations: 186.2 kB / 449.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3018, allocations: 353.9 kB / 450.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3029, allocations: 0.8437 MB / 450.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.3047, allocations: 1.988 MB / 452.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.3075, allocations: 2.999 MB / 455.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.3075, allocations: 12 kB / 455.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003456/0.311, allocations: 2.868 MB / 458.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.311, allocations: 23.94 kB / 458.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/0.3111, allocations: 43.94 kB / 458.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/0.3111, allocations: 52 kB / 458.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.3125, allocations: 0.5353 MB / 459.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/0.3126, allocations: 82.16 kB / 459.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3137, allocations: 297.3 kB / 459.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.3138, allocations: 128 kB / 459.9 MB, free: 3.23 MB / 366.1 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.001866/0.3157, allocations: 1.661 MB / 461.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3159, allocations: 134.8 kB / 461.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.3178, allocations: 1.425 MB / 463.2 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001234/0.319, allocations: 1.012 MB / 464.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.319, allocations: 0 / 464.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.319, allocations: 7.969 kB / 464.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.3315, allocations: 12.23 MB / 476.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.3315, allocations: 20 kB / 476.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.3322, allocations: 213.7 kB / 476.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/0.3322, allocations: 24 kB / 476.7 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.3323, allocations: 48 kB / 476.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/0.3323, allocations: 35.11 kB / 476.7 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/0.3323, allocations: 34.78 kB / 476.8 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3349, allocations: 2.584 MB / 479.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.3353, allocations: 335.1 kB / 479.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.3354, allocations: 47.97 kB / 479.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.336, allocations: 59.95 kB / 479.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3362, allocations: 142 kB / 479.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.3363, allocations: 55.92 kB / 480 MB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.3373, allocations: 0.9877 MB / 481 MB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 0 / 481 MB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002099/0.3394, allocations: 0.9476 MB / 481.9 MB, free: 12.54 MB / 398.1 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.0002743/0.3397, allocations: 218.9 kB / 482.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.3419, allocations: 1.905 MB / 484 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3419, allocations: 4 kB / 484 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.3427, allocations: 0.6149 MB / 484.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/0.3471, allocations: 375 kB / 485 MB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009127/0.3562, allocations: 8.68 MB / 493.7 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.3586, allocations: 2.992 MB / 496.7 MB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3589, allocations: 131.4 kB / 496.8 MB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3589, allocations: 0 / 496.8 MB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.03902/0.398, allocations: 38.1 MB / 0.5224 GB, free: 7.578 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches