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.001766/0.001766, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.002138/0.002138, allocations: 187.1 kB / 18.66 MB, free: 4.445 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.459/1.459, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001418/0.001418, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.2391/0.3415, allocations: 9.699 MB / 384.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.3477, allocations: 2.743 MB / 387.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.3499, allocations: 54.97 kB / 387.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008183/0.3581, allocations: 3.775 MB / 390.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.3626, allocations: 1.068 MB / 392 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.365, allocations: 0.8013 MB / 392.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.3707, allocations: 3.915 MB / 396.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.3864, allocations: 9.567 MB / 406.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.3915, allocations: 2.221 MB / 408.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005367/0.3969, allocations: 2.542 MB / 411 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.3986, allocations: 0.6079 MB / 411.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.4014, allocations: 0.8153 MB / 412.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.4027, allocations: 1.199 MB / 413.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004035/0.4067, allocations: 2.426 MB / 416.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008749/0.4155, allocations: 8.137 MB / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4156, allocations: 4 kB / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4156, allocations: 0 / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.4158, allocations: 0 / 424.2 MB, free: 14.41 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.01361/0.4294, allocations: 5.159 MB / 429.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4295, allocations: 8.031 kB / 429.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001011/0.4305, allocations: 0.6416 MB / 430 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.4452, allocations: 2.575 MB / 432.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.45, allocations: 2.155 MB / 434.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.4503, allocations: 337.1 kB / 435.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.4514, allocations: 443.9 kB / 435.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.4636, allocations: 6.107 MB / 441.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.403e-05/0.4637, allocations: 8 kB / 441.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.4641, allocations: 188 kB / 441.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.4644, allocations: 213.3 kB / 442 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.475, allocations: 5.783 MB / 447.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.5067, allocations: 21.16 MB / 469 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.5151, allocations: 8.94 MB / 477.9 MB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5167, allocations: 0.9727 MB / 478.9 MB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005478/0.5222, allocations: 3.553 MB / 482.4 MB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5223, allocations: 38.73 kB / 482.5 MB, free: 1.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/0.5223, allocations: 0 / 482.5 MB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001137/0.5234, allocations: 0.6437 MB / 483.1 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5235, allocations: 55.41 kB / 483.2 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.5261, allocations: 1.986 MB / 485.2 MB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5262, allocations: 33.7 kB / 485.2 MB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.5276, allocations: 2.181 MB / 487.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.5277, allocations: 142.5 kB / 487.5 MB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007049/0.5284, allocations: 0.547 MB / 488.1 MB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5286, allocations: 345.9 kB / 488.4 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5299, allocations: 0.8792 MB / 489.3 MB, free: 10.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.5321, allocations: 2.247 MB / 491.5 MB, free: 7.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.5352, allocations: 3.063 MB / 494.6 MB, free: 4.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.5352, allocations: 16 kB / 494.6 MB, free: 3.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00448/0.5397, allocations: 3.122 MB / 497.7 MB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.5398, allocations: 31.22 kB / 497.8 MB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/0.5399, allocations: 56.12 kB / 497.8 MB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.655e-05/0.5399, allocations: 64 kB / 497.9 MB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.5417, allocations: 0.5965 MB / 498.5 MB, free: 120 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.5418, allocations: 99.64 kB / 498.6 MB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5438, allocations: 404.2 kB / 499 MB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.544, allocations: 148 kB / 499.1 MB, free: 15.48 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.002193/0.5462, allocations: 1.562 MB / 0.4889 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.5464, allocations: 134.2 kB / 0.4891 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009303/0.5473, allocations: 0.6056 MB / 0.4896 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004122/0.5478, allocations: 317.5 kB / 0.49 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5478, allocations: 4 kB / 0.49 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5478, allocations: 3.984 kB / 0.49 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006403/0.5542, allocations: 3.972 MB / 0.4938 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.5542, allocations: 4 kB / 0.4938 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.5545, allocations: 59.84 kB / 0.4939 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.5545, allocations: 8 kB / 0.4939 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.5546, allocations: 11.98 kB / 0.4939 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5546, allocations: 8 kB / 0.4939 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5546, allocations: 7.938 kB / 0.4939 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5557, allocations: 0.8967 MB / 0.4948 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.5562, allocations: 259.5 kB / 0.4951 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.5563, allocations: 8 kB / 0.4951 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.5569, allocations: 43.94 kB / 0.4951 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.557, allocations: 27.86 kB / 0.4951 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.557, allocations: 19.98 kB / 0.4952 GB, free: 7.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.5588, allocations: 1.339 MB / 0.4965 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5589, allocations: 0 / 0.4965 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002714/0.5616, allocations: 0.9284 MB / 0.4974 GB, free: 4.961 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.001583/0.5632, allocations: 1.485 MB / 0.4988 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.566, allocations: 1.67 MB / 0.5004 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.566, allocations: 0 / 0.5004 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.5663, allocations: 188.8 kB / 0.5006 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.5682, allocations: 303.9 kB / 0.5009 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/0.5975, allocations: 19.25 MB / 0.5197 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003172/0.6008, allocations: 2.891 MB / 0.5225 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001857/0.6026, allocations: 0.7748 MB / 0.5233 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.6041, allocations: 1.218 MB / 0.5245 GB, free: 7.309 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6042, allocations: 0 / 0.5245 GB, free: 7.309 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2933/0.8975, allocations: 41.29 MB / 0.5648 GB, free: 149.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.02, allocations: 5.266 kB / 0.5648 GB, free: 149.9 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