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.0009833/0.0009833, allocations: 106.3 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.41 kB / 306.4 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08972, allocations: 50.53 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009487/0.09924, allocations: 9.024 MB / 365.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.1046, allocations: 2.636 MB / 368.5 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.1061, allocations: 63.81 kB / 368.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1823/0.2885, allocations: 3.541 MB / 372.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.2914, allocations: 0.647 MB / 372.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.2936, allocations: 0.8914 MB / 373.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.2979, allocations: 3.453 MB / 377.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009106/0.307, allocations: 8.04 MB / 385.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.31, allocations: 1.891 MB / 387.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.3124, allocations: 2.314 MB / 389.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.3131, allocations: 457.8 kB / 389.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3145, allocations: 0.6756 MB / 390.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.3152, allocations: 0.9625 MB / 391.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.3172, allocations: 2.135 MB / 393.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.3228, allocations: 7.773 MB / 401.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3228, allocations: 0 / 401.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3228, allocations: 0 / 401.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001467/0.323, allocations: 3.938 kB / 401.4 MB, free: 12.93 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.01022/0.3332, allocations: 4.863 MB / 406.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3333, allocations: 12.03 kB / 406.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007143/0.334, allocations: 0.5897 MB / 406.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/0.3414, allocations: 1.298 MB / 408.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.3456, allocations: 2.242 MB / 410.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.3459, allocations: 316.4 kB / 410.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007284/0.3466, allocations: 402.9 kB / 411.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.3566, allocations: 5.49 MB / 416.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/0.3568, allocations: 0 / 416.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.3571, allocations: 176 kB / 416.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3573, allocations: 184.5 kB / 416.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007895/0.3652, allocations: 4.816 MB / 421.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02883/0.394, allocations: 19.54 MB / 441.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.399, allocations: 3.93 MB / 445.2 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4004, allocations: 0.8158 MB / 446 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.4007, allocations: 194.4 kB / 446.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.4008, allocations: 47.48 kB / 446.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 4.037e-06/0.4008, allocations: 0 / 446.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.002933/0.4037, allocations: 1.678 MB / 447.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4038, allocations: 60.41 kB / 448 MB, free: 13.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.4066, allocations: 1.337 MB / 449.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.4067, allocations: 49.7 kB / 449.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.4083, allocations: 1.75 MB / 451.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.4088, allocations: 376.8 kB / 451.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.4097, allocations: 460.2 kB / 452 MB, free: 9.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4099, allocations: 341.9 kB / 452.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.4115, allocations: 0.8748 MB / 453.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.4138, allocations: 1.865 MB / 455 MB, free: 5.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/0.4175, allocations: 2.866 MB / 457.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/0.4175, allocations: 12 kB / 457.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004674/0.4222, allocations: 2.816 MB / 460.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.4223, allocations: 20 kB / 460.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/0.4224, allocations: 39.94 kB / 460.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-05/0.4224, allocations: 44 kB / 460.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.4241, allocations: 0.5271 MB / 461.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.257e-05/0.4242, allocations: 75.66 kB / 461.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4258, allocations: 293.2 kB / 461.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.426, allocations: 116 kB / 461.8 MB, free: 14.46 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.002611/0.4286, allocations: 1.484 MB / 463.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.429, allocations: 122.4 kB / 463.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.4315, allocations: 1.544 MB / 465 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001564/0.4331, allocations: 1.119 MB / 466.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.4331, allocations: 0 / 466.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4331, allocations: 7.984 kB / 466.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.4513, allocations: 13.83 MB / 479.9 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.263e-05/0.4514, allocations: 20 kB / 480 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.4523, allocations: 231.5 kB / 480.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/0.4524, allocations: 28 kB / 480.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.4525, allocations: 51.98 kB / 480.3 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.98e-05/0.4525, allocations: 40.42 kB / 480.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/0.4526, allocations: 35.88 kB / 480.3 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.4561, allocations: 2.793 MB / 483.1 MB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.4568, allocations: 343.1 kB / 483.5 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.4571, allocations: 51.92 kB / 483.5 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008919/0.458, allocations: 75.98 kB / 483.6 MB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.4582, allocations: 147.3 kB / 483.7 MB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.4583, allocations: 60 kB / 483.8 MB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.4599, allocations: 0.9023 MB / 484.7 MB, free: 6.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4599, allocations: 0 / 484.7 MB, free: 6.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002816/0.4627, allocations: 0.8662 MB / 485.6 MB, free: 5.359 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.003983/0.4667, allocations: 3.426 MB / 489 MB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.4698, allocations: 1.958 MB / 490.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.4699, allocations: 0 / 490.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009789/0.4709, allocations: 0.6784 MB / 491.6 MB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.4732, allocations: 341 kB / 492 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.506, allocations: 21 MB / 0.5009 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/0.5101, allocations: 2.809 MB / 0.5037 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002032/0.5121, allocations: 0.7656 MB / 0.5044 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.5138, allocations: 1.14 MB / 0.5055 GB, free: 2.973 MB / 430.1 MB Notification: Performance of SimCode: time 2.284e-06/0.5139, allocations: 4 kB / 0.5055 GB, free: 2.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/0.7164, allocations: 38.1 MB / 0.5427 GB, free: 140.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.7166, allocations: 225.8 kB / 0.543 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.96, allocations: 1.125 kB / 0.543 GB, free: 140.3 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