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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 117.5 kB / 16.63 MB, free: 6.812 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.001564/0.001564, allocations: 186 kB / 17.55 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 44.31 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07745/0.07855, allocations: 49.44 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008595/0.08717, allocations: 9.019 MB / 358.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.09168, allocations: 2.527 MB / 361.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.09275, allocations: 71.81 kB / 361.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006853/0.09965, allocations: 3.552 MB / 364.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1019, allocations: 0.8085 MB / 365.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1033, allocations: 0.7277 MB / 366.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.1067, allocations: 3.587 MB / 370 MB, free: 284 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1478/0.2545, allocations: 11.08 MB / 381 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.2574, allocations: 2.112 MB / 383.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/0.261, allocations: 2.394 MB / 385.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009112/0.262, allocations: 0.5872 MB / 386.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2636, allocations: 0.797 MB / 386.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007928/0.2644, allocations: 1.111 MB / 388 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.2667, allocations: 2.28 MB / 390.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.2721, allocations: 7.851 MB / 398.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2722, allocations: 6.625 kB / 398.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2722, allocations: 0 / 398.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.2723, allocations: 3.656 kB / 398.2 MB, free: 14.95 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.009964/0.2823, allocations: 4.87 MB / 403.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2823, allocations: 8.031 kB / 403.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007974/0.2831, allocations: 0.5923 MB / 403.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006938/0.2901, allocations: 1.258 MB / 404.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.2945, allocations: 2.24 MB / 407.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.2947, allocations: 314.6 kB / 407.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/0.2954, allocations: 407 kB / 407.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/0.3045, allocations: 5.488 MB / 413.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.098e-05/0.3046, allocations: 3.906 kB / 413.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.305, allocations: 171.3 kB / 413.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.3051, allocations: 184.6 kB / 413.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007658/0.3128, allocations: 4.824 MB / 418.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/0.3391, allocations: 19.3 MB / 437.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.3436, allocations: 3.934 MB / 441.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3448, allocations: 0.8188 MB / 442.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.345, allocations: 113.9 kB / 442.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.345, allocations: 46.12 kB / 442.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.755e-06/0.345, allocations: 0 / 442.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002337/0.3473, allocations: 1.67 MB / 444.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3474, allocations: 60.41 kB / 444.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.3491, allocations: 1.342 MB / 445.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.3491, allocations: 41.7 kB / 445.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/0.3501, allocations: 1.754 MB / 447.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.3503, allocations: 381.5 kB / 448 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005568/0.3509, allocations: 454.6 kB / 448.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.351, allocations: 345.9 kB / 448.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.3522, allocations: 0.8748 MB / 449.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.3539, allocations: 1.86 MB / 451.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.3568, allocations: 2.866 MB / 454.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.3568, allocations: 12 kB / 454.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003638/0.3604, allocations: 2.818 MB / 457.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3605, allocations: 22.81 kB / 457.2 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.3605, allocations: 35.94 kB / 457.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/0.3606, allocations: 52.69 kB / 457.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.3621, allocations: 0.5265 MB / 457.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/0.3621, allocations: 69.19 kB / 457.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.3633, allocations: 285.2 kB / 458.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.3634, allocations: 116 kB / 458.3 MB, free: 2.688 MB / 366.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 (275): * Single equations (assignments): 271 * 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.001878/0.3653, allocations: 1.487 MB / 459.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3655, allocations: 126.4 kB / 459.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.3677, allocations: 1.544 MB / 461.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001407/0.3691, allocations: 1.118 MB / 462.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3692, allocations: 4 kB / 462.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3692, allocations: 3.984 kB / 462.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.3845, allocations: 12.39 MB / 474.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.3845, allocations: 24 kB / 475 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.3853, allocations: 230.4 kB / 475.2 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/0.3853, allocations: 28.75 kB / 475.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.3854, allocations: 47.98 kB / 475.3 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-05/0.3855, allocations: 55.08 kB / 475.3 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-05/0.3855, allocations: 31.41 kB / 475.4 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/0.3886, allocations: 2.788 MB / 478.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/0.3892, allocations: 339.2 kB / 478.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3894, allocations: 59.83 kB / 478.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.3901, allocations: 72 kB / 478.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3903, allocations: 141.7 kB / 478.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.3904, allocations: 60 kB / 478.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.3916, allocations: 0.9062 MB / 479.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.3916, allocations: 0 / 479.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002438/0.3941, allocations: 0.87 MB / 480.6 MB, free: 11.62 MB / 398.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 (109): * Single equations (assignments): 105 * 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.003746/0.3978, allocations: 3.442 MB / 484 MB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.4008, allocations: 2.017 MB / 486 MB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/0.4009, allocations: 4 kB / 486 MB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.4018, allocations: 0.6764 MB / 486.7 MB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.4038, allocations: 335.3 kB / 487 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/0.4301, allocations: 20.99 MB / 0.4961 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.4326, allocations: 2.817 MB / 0.4989 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.4343, allocations: 0.7653 MB / 0.4996 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.4356, allocations: 1.136 MB / 0.5007 GB, free: 9.559 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4356, allocations: 0 / 0.5007 GB, free: 9.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4718/0.9074, allocations: 38.85 MB / 0.5387 GB, free: 151.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.9076, allocations: 230.1 kB / 0.5389 GB, free: 151.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.464, allocations: 0 / 0.5389 GB, free: 151.7 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/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