Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009516/0.0009514, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006919/0.000692, allocations: 82.36 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003525, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.006676/0.2232, allocations: 8.367 MB / 383.6 MB, free: 38.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.2279, allocations: 2.507 MB / 386.1 MB, free: 36.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.229, allocations: 56.16 kB / 386.1 MB, free: 36.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.2299, allocations: 388.9 kB / 386.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.2323, allocations: 0.8984 MB / 387.4 MB, free: 35.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.2337, allocations: 0.6285 MB / 388 MB, free: 35.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.2369, allocations: 3.63 MB / 391.7 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.2477, allocations: 9.708 MB / 401.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2497, allocations: 1.557 MB / 402.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.2514, allocations: 1.829 MB / 404.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.2517, allocations: 252 kB / 405 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2528, allocations: 459.8 kB / 405.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.2532, allocations: 0.7317 MB / 406.2 MB, free: 17.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.2546, allocations: 1.861 MB / 408 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004237/0.2588, allocations: 6.814 MB / 414.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2589, allocations: 0 / 414.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2589, allocations: 0 / 414.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.259, allocations: 0 / 414.9 MB, free: 8.855 MB / 298.7 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.008856/0.2679, allocations: 4.238 MB / 419.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2679, allocations: 8.031 kB / 419.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009652/0.2689, allocations: 0.6455 MB / 419.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.2818, allocations: 2.579 MB / 422.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.2855, allocations: 2.166 MB / 424.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.2858, allocations: 329.1 kB / 424.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008472/0.2866, allocations: 440 kB / 425.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.2974, allocations: 6.098 MB / 431.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.469e-05/0.2975, allocations: 7.906 kB / 431.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.2979, allocations: 180 kB / 431.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.2981, allocations: 221.3 kB / 431.7 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009315/0.3074, allocations: 5.763 MB / 437.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/0.336, allocations: 21.49 MB / 459 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/0.344, allocations: 8.974 MB / 468 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3456, allocations: 1.027 MB / 469 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005268/0.3509, allocations: 3.678 MB / 472.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.351, allocations: 34.56 kB / 472.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.351, allocations: 4 kB / 472.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001155/0.3521, allocations: 0.765 MB / 473.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3522, allocations: 63.28 kB / 473.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.3551, allocations: 1.971 MB / 475.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3551, allocations: 25.7 kB / 475.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.3566, allocations: 2.185 MB / 477.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.3568, allocations: 158.3 kB / 477.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3569, allocations: 48 kB / 477.9 MB, free: 7.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.3572, allocations: 459.9 kB / 478.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3585, allocations: 0.9105 MB / 479.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.3608, allocations: 2.275 MB / 481.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/0.364, allocations: 3.133 MB / 484.7 MB, free: 15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-05/0.364, allocations: 12 kB / 484.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004732/0.3688, allocations: 3.184 MB / 487.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.3688, allocations: 24 kB / 487.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.893e-05/0.3689, allocations: 48 kB / 487.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.531e-05/0.369, allocations: 68.81 kB / 488 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.3707, allocations: 0.5926 MB / 488.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-05/0.3708, allocations: 103.6 kB / 488.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.3726, allocations: 408.1 kB / 489.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.3728, allocations: 148 kB / 489.2 MB, free: 10.42 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.3749, allocations: 1.562 MB / 490.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.3752, allocations: 134.3 kB / 490.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3762, allocations: 0.7038 MB / 491.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005157/0.3768, allocations: 410.8 kB / 492 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3768, allocations: 7.984 kB / 492.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3768, allocations: 3.984 kB / 492.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.3831, allocations: 4.073 MB / 496.1 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3831, allocations: 8 kB / 496.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3834, allocations: 59.89 kB / 496.2 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.3834, allocations: 8 kB / 496.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.3835, allocations: 19.94 kB / 496.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3835, allocations: 4 kB / 496.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.3835, allocations: 7.938 kB / 496.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3847, allocations: 1.029 MB / 497.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.3853, allocations: 303 kB / 497.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.3855, allocations: 12 kB / 497.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.3861, allocations: 39.94 kB / 497.6 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.3861, allocations: 35.91 kB / 497.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.3862, allocations: 16 kB / 497.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001779/0.388, allocations: 1.315 MB / 499 MB, free: 392 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.388, allocations: 0 / 499 MB, free: 392 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002487/0.3905, allocations: 0.9246 MB / 499.9 MB, free: 15.45 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.3921, allocations: 1.634 MB / 0.4898 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.3947, allocations: 1.732 MB / 0.4915 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3948, allocations: 0 / 0.4915 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3951, allocations: 231.8 kB / 0.4917 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.3974, allocations: 290.7 kB / 0.492 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.175/0.5725, allocations: 14.86 MB / 0.5065 GB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.575, allocations: 2.816 MB / 0.5092 GB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.5763, allocations: 1.249 MB / 0.5105 GB, free: 119.1 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5763, allocations: 0 / 0.5105 GB, free: 119.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.884/4.461, allocations: 51.84 MB / 0.5611 GB, free: 72.12 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches