Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_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.001414/0.001414, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.001362/0.001363, allocations: 187 kB / 18.67 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001699/0.0017, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09703, allocations: 46.61 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1963/0.2934, allocations: 9.705 MB / 384.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.2994, allocations: 2.746 MB / 387.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.3012, allocations: 56 kB / 387.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007919/0.3091, allocations: 3.762 MB / 390.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.3136, allocations: 1.079 MB / 392 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.3158, allocations: 0.8033 MB / 392.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.3208, allocations: 3.912 MB / 396.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01301/0.3338, allocations: 9.563 MB / 406.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.3386, allocations: 2.217 MB / 408.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.3442, allocations: 2.547 MB / 411 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.3465, allocations: 0.603 MB / 411.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.3496, allocations: 0.8212 MB / 412.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.3514, allocations: 1.198 MB / 413.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/0.3557, allocations: 2.421 MB / 416.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3661, allocations: 8.164 MB / 424.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3662, allocations: 0 / 424.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3662, allocations: 0 / 424.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.3664, allocations: 0 / 424.2 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01462/0.3811, allocations: 5.25 MB / 429.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3811, allocations: 12.03 kB / 429.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001509/0.3826, allocations: 0.6377 MB / 430.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.3983, allocations: 2.593 MB / 432.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.4031, allocations: 2.167 MB / 434.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.4035, allocations: 337.1 kB / 435.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.4048, allocations: 444 kB / 435.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.4186, allocations: 6.103 MB / 441.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.81e-05/0.4188, allocations: 7.953 kB / 441.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004722/0.4192, allocations: 184 kB / 442 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.4195, allocations: 213.3 kB / 442.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.431, allocations: 5.787 MB / 448 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03551/0.4665, allocations: 21.2 MB / 469.2 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009602/0.4762, allocations: 8.952 MB / 478.1 MB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.478, allocations: 0.9688 MB / 479.1 MB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006322/0.4844, allocations: 3.566 MB / 482.6 MB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.4845, allocations: 42.73 kB / 482.7 MB, free: 1.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.474e-06/0.4845, allocations: 0 / 482.7 MB, free: 1.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001222/0.4857, allocations: 0.6444 MB / 483.3 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4858, allocations: 55.41 kB / 483.4 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.4888, allocations: 1.991 MB / 485.4 MB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.4889, allocations: 29.7 kB / 485.4 MB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.4906, allocations: 2.268 MB / 487.7 MB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.4907, allocations: 151.1 kB / 487.8 MB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008059/0.4915, allocations: 0.5514 MB / 488.4 MB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4917, allocations: 345.9 kB / 488.7 MB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.4931, allocations: 0.8792 MB / 489.6 MB, free: 10.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.4956, allocations: 2.251 MB / 491.8 MB, free: 7.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.4994, allocations: 3.063 MB / 494.9 MB, free: 3.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/0.4994, allocations: 12 kB / 494.9 MB, free: 3.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005426/0.5049, allocations: 3.138 MB / 498 MB, free: 432 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.505, allocations: 27.94 kB / 498.1 MB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.085e-05/0.505, allocations: 48 kB / 498.1 MB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.287e-05/0.5051, allocations: 67.94 kB / 498.2 MB, free: 288 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.507, allocations: 0.5933 MB / 498.8 MB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.249e-05/0.5071, allocations: 95.64 kB / 498.9 MB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.5092, allocations: 417.2 kB / 499.3 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.5095, allocations: 148 kB / 499.4 MB, free: 15.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002611/0.5121, allocations: 1.566 MB / 0.4893 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.5124, allocations: 139 kB / 0.4894 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5136, allocations: 0.6095 MB / 0.49 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004679/0.5141, allocations: 317.5 kB / 0.4903 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5141, allocations: 0 / 0.4903 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5142, allocations: 3.984 kB / 0.4903 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/0.5209, allocations: 3.972 MB / 0.4942 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.521, allocations: 4 kB / 0.4942 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.5212, allocations: 63.89 kB / 0.4942 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.5213, allocations: 4.594 kB / 0.4942 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.5213, allocations: 16 kB / 0.4942 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.5213, allocations: 7.938 kB / 0.4943 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5213, allocations: 8 kB / 0.4943 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.5226, allocations: 0.8974 MB / 0.4951 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.5231, allocations: 264.1 kB / 0.4954 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.5233, allocations: 15.98 kB / 0.4954 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.5238, allocations: 44 kB / 0.4954 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.5239, allocations: 31.86 kB / 0.4955 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.524, allocations: 15.98 kB / 0.4955 GB, free: 6.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002104/0.5261, allocations: 1.331 MB / 0.4968 GB, free: 5.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5261, allocations: 0 / 0.4968 GB, free: 5.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003024/0.5291, allocations: 0.9454 MB / 0.4977 GB, free: 4.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.001737/0.5309, allocations: 1.501 MB / 0.4992 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.5337, allocations: 1.673 MB / 0.5008 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.5337, allocations: 4 kB / 0.5008 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.534, allocations: 181.2 kB / 0.501 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5357, allocations: 307.2 kB / 0.5013 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/0.5676, allocations: 19.35 MB / 0.5202 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.5708, allocations: 2.899 MB / 0.523 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001921/0.5727, allocations: 0.7709 MB / 0.5238 GB, free: 7.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/0.5743, allocations: 1.214 MB / 0.525 GB, free: 6.711 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5744, allocations: 0 / 0.525 GB, free: 6.711 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/0.8588, allocations: 41.47 MB / 0.5654 GB, free: 148.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.35, allocations: 7.203 kB / 0.5655 GB, free: 148.4 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches