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.001288/0.001288, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001417/0.001418, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.811/1.811, allocations: 205.1 MB / 224 MB, free: 12.45 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.001351/0.001351, allocations: 48.16 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 46.62 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01195/0.1599, allocations: 9.58 MB / 336.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.167, allocations: 2.715 MB / 339.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1681, allocations: 51.88 kB / 339.2 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007902/0.176, allocations: 3.576 MB / 342.8 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.1797, allocations: 0.9606 MB / 343.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1817, allocations: 0.7443 MB / 344.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004664/0.1864, allocations: 3.872 MB / 348.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.2009, allocations: 11.14 MB / 359.5 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.2049, allocations: 2.24 MB / 361.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.2081, allocations: 2.566 MB / 364.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.2094, allocations: 0.6016 MB / 364.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.2119, allocations: 0.8162 MB / 365.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.2135, allocations: 1.204 MB / 366.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.2167, allocations: 2.428 MB / 369.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009072/0.2258, allocations: 8.086 MB / 377.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.2258, allocations: 7.938 kB / 377.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.2258, allocations: 0 / 377.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.226, allocations: 0 / 377.5 MB, free: 1.863 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.252/0.478, allocations: 5.172 MB / 382.6 MB, free: 49.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.807e-05/0.4781, allocations: 10.59 kB / 382.7 MB, free: 49.15 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001866/0.48, allocations: 0.6415 MB / 383.3 MB, free: 48.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.4974, allocations: 2.572 MB / 385.9 MB, free: 48.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/0.5048, allocations: 2.154 MB / 388 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008224/0.5057, allocations: 339.8 kB / 388.3 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/0.508, allocations: 442.8 kB / 388.8 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.5335, allocations: 6.126 MB / 394.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003188/0.5338, allocations: 9.312 kB / 394.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001929/0.5358, allocations: 180.9 kB / 395.1 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006499/0.5365, allocations: 212.3 kB / 395.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.5527, allocations: 5.808 MB / 401.1 MB, free: 38.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03941/0.5922, allocations: 21.42 MB / 422.5 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/0.6003, allocations: 8.986 MB / 431.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.602, allocations: 1.019 MB / 432.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005632/0.6076, allocations: 3.68 MB / 436.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6077, allocations: 38.56 kB / 436.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/0.6077, allocations: 3.938 kB / 436.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001455/0.6092, allocations: 0.7642 MB / 437 MB, free: 0.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6092, allocations: 51.41 kB / 437.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.6135, allocations: 1.99 MB / 439.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.6135, allocations: 29.7 kB / 439.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.6155, allocations: 2.181 MB / 441.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.6157, allocations: 158.3 kB / 441.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009455/0.6167, allocations: 0.5587 MB / 442 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.6169, allocations: 345.9 kB / 442.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.6186, allocations: 0.9106 MB / 443.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.6217, allocations: 2.283 MB / 445.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.626, allocations: 3.154 MB / 448.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.909e-05/0.6261, allocations: 15.94 kB / 448.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006332/0.6324, allocations: 3.208 MB / 451.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.6325, allocations: 28 kB / 451.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.6326, allocations: 48 kB / 452 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.6328, allocations: 64 kB / 452 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.6349, allocations: 0.5888 MB / 452.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.635, allocations: 95.59 kB / 452.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.638, allocations: 412.2 kB / 453.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.6383, allocations: 148 kB / 453.3 MB, free: 15.2 MB / 350.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 (320): * Single equations (assignments): 316 * 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.003929/0.6422, allocations: 1.566 MB / 454.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.6426, allocations: 130.3 kB / 455 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.644, allocations: 0.7108 MB / 455.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005464/0.6446, allocations: 410.8 kB / 456.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6446, allocations: 3.938 kB / 456.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.6446, allocations: 0 / 456.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.6554, allocations: 4.08 MB / 460.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.6554, allocations: 4 kB / 460.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.6557, allocations: 59.91 kB / 460.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.6558, allocations: 4 kB / 460.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.6558, allocations: 16.58 kB / 460.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.6558, allocations: 15.94 kB / 460.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6558, allocations: 4 kB / 460.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.6576, allocations: 1.038 MB / 461.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000827/0.6585, allocations: 267.3 kB / 461.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/0.6589, allocations: 11.98 kB / 461.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.6599, allocations: 39.95 kB / 461.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.66, allocations: 39.91 kB / 461.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.66, allocations: 12 kB / 461.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002763/0.6628, allocations: 1.339 MB / 463 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6628, allocations: 3.938 kB / 463 MB, free: 5.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003894/0.6667, allocations: 0.9232 MB / 463.9 MB, free: 4.227 MB / 350.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 (29): * Single equations (assignments): 25 * 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.002109/0.6688, allocations: 1.649 MB / 465.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.6724, allocations: 1.766 MB / 467.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6725, allocations: 0 / 467.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.6728, allocations: 229.4 kB / 467.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.6748, allocations: 309.5 kB / 467.9 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/0.7211, allocations: 21.98 MB / 489.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005792/0.7269, allocations: 2.891 MB / 492.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002541/0.7295, allocations: 0.771 MB / 493.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/0.7317, allocations: 1.218 MB / 494.7 MB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.7317, allocations: 4 kB / 494.7 MB, free: 3.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.088/0.8198, allocations: 40.87 MB / 0.523 GB, free: 10.36 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.8201, allocations: 244.5 kB / 0.5233 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.624, allocations: 0 / 0.5233 GB, free: 10.09 MB / 430.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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches