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.0007321/0.0007322, allocations: 96.16 kB / 17.3 MB, free: 6.344 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.0007663/0.0007664, allocations: 179.5 kB / 18.21 MB, free: 5.531 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.298/1.298, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004321/0.0004321, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08758, allocations: 47.57 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008916/0.09655, allocations: 8.953 MB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.1021, allocations: 2.703 MB / 340.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.1037, allocations: 51.88 kB / 340.8 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.1055, allocations: 0.5522 MB / 341.3 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.1092, allocations: 0.9646 MB / 342.3 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.1113, allocations: 0.7365 MB / 343 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004548/0.1159, allocations: 3.801 MB / 346.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.1318, allocations: 9.919 MB / 356.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.1343, allocations: 1.561 MB / 358.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.1373, allocations: 1.918 MB / 360.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007629/0.1381, allocations: 252 kB / 360.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.1398, allocations: 471.8 kB / 360.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009842/0.1408, allocations: 0.751 MB / 361.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.1435, allocations: 1.941 MB / 363.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008358/0.1519, allocations: 7.643 MB / 371.3 MB, free: 9.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1519, allocations: 0 / 371.3 MB, free: 9.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1519, allocations: 4 kB / 371.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.1522, allocations: 0 / 371.3 MB, free: 9.203 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.01134/0.1635, allocations: 4.249 MB / 375.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1636, allocations: 12.03 kB / 375.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002024/0.1656, allocations: 0.6455 MB / 376.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.1813, allocations: 2.579 MB / 378.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1714/0.3527, allocations: 2.154 MB / 380.9 MB, free: 31.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.3532, allocations: 336.7 kB / 381.2 MB, free: 31.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.3549, allocations: 444.6 kB / 381.7 MB, free: 31.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.3682, allocations: 6.124 MB / 387.8 MB, free: 31.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-05/0.3683, allocations: 3.297 kB / 387.8 MB, free: 31.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.3687, allocations: 182.7 kB / 388 MB, free: 31.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/0.369, allocations: 217.4 kB / 388.2 MB, free: 31.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008961/0.3779, allocations: 5.805 MB / 394 MB, free: 29.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.4016, allocations: 21.5 MB / 415.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.4077, allocations: 8.971 MB / 424.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4089, allocations: 1.02 MB / 425.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004678/0.4136, allocations: 3.676 MB / 429.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4137, allocations: 34.56 kB / 429.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.4137, allocations: 4 kB / 429.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.001183/0.4149, allocations: 0.7598 MB / 430 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4149, allocations: 63.05 kB / 430 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.4174, allocations: 1.986 MB / 432 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.4174, allocations: 29.7 kB / 432 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.4186, allocations: 2.181 MB / 434.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.4187, allocations: 158.3 kB / 434.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.419, allocations: 198.9 kB / 434.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4191, allocations: 353.9 kB / 434.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.4203, allocations: 0.9067 MB / 435.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.4223, allocations: 2.289 MB / 438.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.4255, allocations: 3.14 MB / 441.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.4255, allocations: 19.98 kB / 441.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004199/0.4297, allocations: 3.207 MB / 444.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.4298, allocations: 24 kB / 444.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-05/0.4298, allocations: 48.84 kB / 444.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.21e-05/0.4299, allocations: 68 kB / 444.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4315, allocations: 0.5908 MB / 445.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-05/0.4316, allocations: 93.53 kB / 445.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4334, allocations: 408.1 kB / 445.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.4335, allocations: 148 kB / 445.8 MB, free: 12.95 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.00259/0.4361, allocations: 1.567 MB / 447.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4363, allocations: 138.2 kB / 447.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009874/0.4373, allocations: 0.7068 MB / 448.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004912/0.4378, allocations: 418.5 kB / 448.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4378, allocations: 0 / 448.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4379, allocations: 0 / 448.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.4432, allocations: 4.085 MB / 452.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4432, allocations: 4 kB / 452.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4435, allocations: 55.62 kB / 452.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.4435, allocations: 4.094 kB / 452.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.4435, allocations: 23.92 kB / 452.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.4436, allocations: 11.47 kB / 452.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4436, allocations: 7.562 kB / 452.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4448, allocations: 1.04 MB / 453.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.4452, allocations: 299.1 kB / 454.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.4454, allocations: 12 kB / 454.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.446, allocations: 43.94 kB / 454.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.446, allocations: 35.33 kB / 454.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.4461, allocations: 20 kB / 454.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001642/0.4477, allocations: 1.339 MB / 455.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4477, allocations: 0 / 455.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002432/0.4501, allocations: 0.9202 MB / 456.5 MB, free: 2.047 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.001539/0.4517, allocations: 1.636 MB / 458.2 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.4542, allocations: 1.742 MB / 459.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4542, allocations: 4 kB / 459.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4545, allocations: 234.1 kB / 460.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.4568, allocations: 275.2 kB / 460.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/0.484, allocations: 22.04 MB / 482.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.4866, allocations: 2.892 MB / 485.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001942/0.4885, allocations: 0.771 MB / 486.1 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.4899, allocations: 1.229 MB / 487.3 MB, free: 1.441 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4899, allocations: 2.438 kB / 487.3 MB, free: 1.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/0.5529, allocations: 39.8 MB / 0.5148 GB, free: 9.621 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.5531, allocations: 231.8 kB / 0.515 GB, free: 9.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.851, allocations: 0 / 0.515 GB, free: 9.359 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