Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001474/0.001474, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 64.39 kB / 306.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09598, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01012/0.1061, allocations: 9.028 MB / 366.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.111, allocations: 2.612 MB / 368.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.1123, allocations: 59.88 kB / 368.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1714/0.2837, allocations: 3.536 MB / 372.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.2868, allocations: 0.6503 MB / 373 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.2888, allocations: 0.8677 MB / 373.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.2928, allocations: 3.592 MB / 377.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.3054, allocations: 11.08 MB / 388.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.3089, allocations: 2.119 MB / 390.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.3121, allocations: 2.397 MB / 393 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000784/0.3129, allocations: 0.584 MB / 393.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.3143, allocations: 0.8173 MB / 394.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000763/0.3151, allocations: 1.122 MB / 395.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.3172, allocations: 2.278 MB / 397.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006505/0.3237, allocations: 7.866 MB / 405.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3237, allocations: 0 / 405.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3237, allocations: 4 kB / 405.7 MB, free: 9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.3239, allocations: 0 / 405.7 MB, free: 9 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.0128/0.3367, allocations: 4.874 MB / 410.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.3368, allocations: 8.031 kB / 410.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.338, allocations: 0.5962 MB / 411.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007679/0.3457, allocations: 1.282 MB / 412.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.3493, allocations: 2.24 MB / 414.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3496, allocations: 320.4 kB / 415 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007427/0.3504, allocations: 402.6 kB / 415.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.3608, allocations: 5.495 MB / 420.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-05/0.3609, allocations: 7.906 kB / 420.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/0.3614, allocations: 168 kB / 421.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.3616, allocations: 180.5 kB / 421.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00847/0.37, allocations: 4.82 MB / 426.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.4005, allocations: 19.54 MB / 445.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/0.4056, allocations: 3.937 MB / 449.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.407, allocations: 0.8183 MB / 450.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.4073, allocations: 199.2 kB / 450.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.4073, allocations: 51.5 kB / 450.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 3.426e-06/0.4074, allocations: 0 / 450.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.002586/0.4099, allocations: 1.662 MB / 452.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.41, allocations: 68.34 kB / 452.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.4118, allocations: 1.345 MB / 453.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.4119, allocations: 41.7 kB / 453.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.413, allocations: 1.747 MB / 455.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.4133, allocations: 383 kB / 455.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.4139, allocations: 459.5 kB / 456.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.414, allocations: 345.9 kB / 456.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.4152, allocations: 0.8709 MB / 457.5 MB, free: 3.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.417, allocations: 1.865 MB / 459.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.4199, allocations: 2.871 MB / 462.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.42, allocations: 8 kB / 462.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004085/0.424, allocations: 2.817 MB / 465.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.4241, allocations: 20 kB / 465.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/0.4242, allocations: 32 kB / 465.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.627e-05/0.4242, allocations: 48 kB / 465.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.4258, allocations: 0.5226 MB / 465.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.058e-05/0.4259, allocations: 71.72 kB / 465.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.427, allocations: 289.3 kB / 466 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4272, allocations: 116 kB / 466.1 MB, free: 10.3 MB / 382.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.002099/0.4293, allocations: 1.484 MB / 467.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.4295, allocations: 126.3 kB / 467.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.4317, allocations: 1.548 MB / 469.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001426/0.4331, allocations: 1.115 MB / 470.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4331, allocations: 4 kB / 470.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4331, allocations: 3.984 kB / 470.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.4492, allocations: 13.83 MB / 484.3 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/0.4493, allocations: 27.94 kB / 484.3 MB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.4502, allocations: 227.6 kB / 484.5 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-05/0.4502, allocations: 28 kB / 484.5 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.4503, allocations: 47.98 kB / 484.6 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-05/0.4503, allocations: 47.73 kB / 484.6 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/0.4504, allocations: 31.88 kB / 484.7 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.4539, allocations: 2.798 MB / 487.5 MB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/0.4548, allocations: 339.1 kB / 487.8 MB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.4551, allocations: 55.92 kB / 487.8 MB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.4559, allocations: 67.94 kB / 487.9 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4561, allocations: 147.4 kB / 488.1 MB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.4562, allocations: 64 kB / 488.1 MB, free: 2.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.4574, allocations: 0.9062 MB / 489 MB, free: 2.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4574, allocations: 0 / 489 MB, free: 2.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002524/0.46, allocations: 0.8701 MB / 489.9 MB, free: 1.18 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.003809/0.4638, allocations: 3.438 MB / 493.3 MB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.4667, allocations: 2.015 MB / 495.3 MB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4668, allocations: 0 / 495.3 MB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008752/0.4676, allocations: 0.6736 MB / 496 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.4696, allocations: 341.2 kB / 496.4 MB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/0.497, allocations: 20.99 MB / 0.5052 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.4994, allocations: 2.813 MB / 0.508 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001759/0.5012, allocations: 0.7656 MB / 0.5087 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.5024, allocations: 1.14 MB / 0.5098 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5024, allocations: 0 / 0.5098 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.211/0.7135, allocations: 38.73 MB / 0.5476 GB, free: 139.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.7137, allocations: 228.8 kB / 0.5479 GB, free: 139 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.161, allocations: 0 / 0.5479 GB, free: 139 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches