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.001112/0.001112, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001124/0.001124, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.358/1.358, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001341/0.001341, allocations: 59.92 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.0816, allocations: 46.62 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01034/0.09198, allocations: 9.693 MB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.09752, allocations: 2.753 MB / 339.8 MB, free: 7.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.0986, allocations: 55.88 kB / 339.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007935/0.1065, allocations: 3.761 MB / 343.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.1104, allocations: 1.068 MB / 344.7 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1127, allocations: 0.8063 MB / 345.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004847/0.1175, allocations: 3.887 MB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01453/0.1321, allocations: 9.596 MB / 359 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.1364, allocations: 2.205 MB / 361.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.1405, allocations: 2.558 MB / 363.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.142, allocations: 0.6016 MB / 364.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1443, allocations: 0.8162 MB / 365.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.1459, allocations: 1.2 MB / 366.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.1488, allocations: 2.42 MB / 368.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007335/0.1562, allocations: 8.09 MB / 376.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1562, allocations: 0 / 376.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1562, allocations: 0 / 376.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001827/0.1564, allocations: 3.938 kB / 376.9 MB, free: 2.637 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.1593/0.3158, allocations: 5.155 MB / 382.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3159, allocations: 11.53 kB / 382.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001103/0.317, allocations: 0.6381 MB / 382.7 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.3331, allocations: 2.568 MB / 385.3 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.3384, allocations: 2.161 MB / 387.4 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.3389, allocations: 342.5 kB / 387.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.3405, allocations: 445.5 kB / 388.2 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.3529, allocations: 6.104 MB / 394.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.353, allocations: 6.688 kB / 394.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/0.3536, allocations: 185.6 kB / 394.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002228/0.3538, allocations: 211.9 kB / 394.7 MB, free: 42.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/0.3624, allocations: 5.785 MB / 400.5 MB, free: 39.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.3861, allocations: 21.41 MB / 421.9 MB, free: 17.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005831/0.392, allocations: 8.944 MB / 430.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.3933, allocations: 0.9719 MB / 431.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004058/0.3973, allocations: 3.568 MB / 435.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3974, allocations: 30.8 kB / 435.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.3974, allocations: 0 / 435.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.000816/0.3982, allocations: 0.6405 MB / 436 MB, free: 1.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3982, allocations: 51.41 kB / 436.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.4005, allocations: 1.99 MB / 438.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4006, allocations: 33.7 kB / 438.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.4018, allocations: 2.177 MB / 440.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4019, allocations: 146.5 kB / 440.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006563/0.4026, allocations: 0.547 MB / 441 MB, free: 12.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4027, allocations: 349.9 kB / 441.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4038, allocations: 0.8792 MB / 442.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.4058, allocations: 2.246 MB / 444.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.4089, allocations: 3.063 MB / 447.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.4089, allocations: 12 kB / 447.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004361/0.4133, allocations: 3.129 MB / 450.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.4133, allocations: 31.12 kB / 450.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/0.4134, allocations: 48 kB / 450.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.725e-05/0.4135, allocations: 64 kB / 450.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4151, allocations: 0.5927 MB / 451.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.421e-05/0.4152, allocations: 95.64 kB / 451.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.417, allocations: 412.3 kB / 451.9 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.4172, allocations: 151.9 kB / 452 MB, free: 308 kB / 334.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.002123/0.4193, allocations: 1.566 MB / 453.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.4195, allocations: 126.3 kB / 453.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/0.4205, allocations: 0.6056 MB / 454.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003913/0.4209, allocations: 325.4 kB / 454.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4209, allocations: 0 / 454.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.4209, allocations: 3.984 kB / 454.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.4262, allocations: 3.968 MB / 458.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4263, allocations: 4 kB / 458.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.4265, allocations: 59.89 kB / 458.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.4265, allocations: 8.594 kB / 458.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.4266, allocations: 15.94 kB / 458.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4266, allocations: 11.94 kB / 458.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/0.4266, allocations: 11.94 kB / 458.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4277, allocations: 0.8919 MB / 459.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.4281, allocations: 255.3 kB / 459.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.4283, allocations: 12 kB / 459.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.4288, allocations: 47.88 kB / 459.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.4289, allocations: 39.91 kB / 460 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.4289, allocations: 8 kB / 460 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.4305, allocations: 1.339 MB / 461.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4305, allocations: 0 / 461.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002594/0.4331, allocations: 0.9259 MB / 462.2 MB, free: 5.785 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 (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.001325/0.4345, allocations: 1.493 MB / 463.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.4367, allocations: 1.676 MB / 465.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4368, allocations: 4 kB / 465.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.437, allocations: 181.2 kB / 465.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.4384, allocations: 309.5 kB / 465.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/0.4643, allocations: 20.02 MB / 485.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/0.467, allocations: 2.891 MB / 488.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001902/0.4689, allocations: 0.7748 MB / 489.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.4702, allocations: 1.214 MB / 490.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4702, allocations: 0 / 490.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06858/0.5388, allocations: 40.15 MB / 0.5185 GB, free: 14.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.546, allocations: 19.7 kB / 0.5185 GB, free: 14.82 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","/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