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.001518/0.001518, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001746/0.001746, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.296/1.296, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009508/0.0009508, allocations: 50.95 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08979, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009621/0.09945, allocations: 9.116 MB / 359.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.1039, allocations: 2.569 MB / 361.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.1047, allocations: 67.81 kB / 361.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007274/0.112, allocations: 3.736 MB / 365.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.1147, allocations: 0.9048 MB / 366.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.1165, allocations: 0.7999 MB / 367.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1607/0.2772, allocations: 3.589 MB / 371 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.2885, allocations: 9.547 MB / 380.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.2911, allocations: 2.085 MB / 382.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.2946, allocations: 2.376 MB / 385 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.2957, allocations: 0.5847 MB / 385.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.2973, allocations: 0.7967 MB / 386.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009656/0.2983, allocations: 1.108 MB / 387.5 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.3012, allocations: 2.279 MB / 389.7 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.3078, allocations: 7.84 MB / 397.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3078, allocations: 3.984 kB / 397.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3078, allocations: 0 / 397.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.308, allocations: 0 / 397.6 MB, free: 15.7 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.01122/0.3192, allocations: 4.848 MB / 402.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3193, allocations: 8.031 kB / 402.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009142/0.3202, allocations: 0.5962 MB / 403 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00731/0.3275, allocations: 1.269 MB / 404.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/0.332, allocations: 2.229 MB / 406.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.3322, allocations: 320.3 kB / 406.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007933/0.333, allocations: 412 kB / 407.2 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009523/0.3426, allocations: 5.468 MB / 412.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.3427, allocations: 15.91 kB / 412.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.3431, allocations: 164 kB / 412.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.3432, allocations: 180.6 kB / 413.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/0.3509, allocations: 4.796 MB / 417.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.3773, allocations: 19.29 MB / 437.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.382, allocations: 3.883 MB / 441 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3833, allocations: 0.7775 MB / 441.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.3835, allocations: 112.8 kB / 441.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3836, allocations: 46.19 kB / 442 MB, free: 3.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.807e-06/0.3836, allocations: 4 kB / 442 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00234/0.3859, allocations: 1.549 MB / 443.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.386, allocations: 64.41 kB / 443.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.3879, allocations: 1.33 MB / 444.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.388, allocations: 48.33 kB / 445 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009856/0.389, allocations: 1.758 MB / 446.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.3893, allocations: 362.5 kB / 447.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005711/0.3899, allocations: 451.3 kB / 447.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.39, allocations: 353.9 kB / 447.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3911, allocations: 0.8317 MB / 448.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.3929, allocations: 1.828 MB / 450.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.396, allocations: 2.79 MB / 453.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.396, allocations: 8 kB / 453.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003986/0.4, allocations: 2.733 MB / 456 MB, free: 4.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4001, allocations: 24.06 kB / 456.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/0.4001, allocations: 32 kB / 456.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/0.4002, allocations: 51.94 kB / 456.2 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.4018, allocations: 0.5201 MB / 456.7 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.373e-05/0.4019, allocations: 68.34 kB / 456.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4031, allocations: 289.2 kB / 457 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.4033, allocations: 116 kB / 457.1 MB, free: 3.863 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 (272): * Single equations (assignments): 271 * 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.002247/0.4056, allocations: 1.482 MB / 458.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.4058, allocations: 118.5 kB / 458.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.4079, allocations: 1.476 MB / 460.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00135/0.4093, allocations: 1.029 MB / 461.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4093, allocations: 0 / 461.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4093, allocations: 3.984 kB / 461.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.4242, allocations: 12.28 MB / 473.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.4242, allocations: 28.06 kB / 473.6 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007989/0.425, allocations: 231.1 kB / 473.8 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.412e-05/0.4251, allocations: 28 kB / 473.8 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.4252, allocations: 48 kB / 473.9 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/0.4252, allocations: 41.83 kB / 473.9 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-05/0.4252, allocations: 33.28 kB / 473.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.4281, allocations: 2.649 MB / 476.6 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.4287, allocations: 335.2 kB / 476.9 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4288, allocations: 47.89 kB / 476.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.4296, allocations: 67.94 kB / 477 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.4297, allocations: 148.5 kB / 477.2 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.4298, allocations: 56 kB / 477.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.431, allocations: 0.9101 MB / 478.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.431, allocations: 3.938 kB / 478.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002345/0.4333, allocations: 0.8682 MB / 479 MB, free: 13.21 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 (106): * Single equations (assignments): 105 * 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.003461/0.4368, allocations: 3.291 MB / 482.3 MB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4396, allocations: 1.922 MB / 484.2 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.4396, allocations: 4 kB / 484.2 MB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008191/0.4404, allocations: 0.6311 MB / 484.8 MB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.4424, allocations: 346.1 kB / 485.2 MB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/0.4681, allocations: 19.14 MB / 0.4925 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.4706, allocations: 2.81 MB / 0.4953 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001824/0.4724, allocations: 0.7654 MB / 0.496 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.4737, allocations: 1.14 MB / 0.4971 GB, free: 13.29 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4737, allocations: 0 / 0.4971 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/0.6954, allocations: 38.15 MB / 0.5344 GB, free: 151 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.464, allocations: 9.297 kB / 0.5344 GB, free: 151 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