Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.001077/0.001077, allocations: 90.56 kB / 16.65 MB, free: 6.535 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.001375/0.001375, allocations: 174.9 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002679, allocations: 4 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 50.41 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009587/0.1295, allocations: 8.396 MB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.1354, allocations: 2.535 MB / 362.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.1371, allocations: 59.88 kB / 362.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1389, allocations: 0.5328 MB / 363.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.1423, allocations: 0.8021 MB / 364.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.1445, allocations: 0.7321 MB / 365 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.1491, allocations: 3.451 MB / 368.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2199/0.3689, allocations: 9.87 MB / 378.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.3715, allocations: 1.456 MB / 379.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.3745, allocations: 1.76 MB / 381.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005825/0.3751, allocations: 247.7 kB / 381.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.3765, allocations: 451.2 kB / 382.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.3772, allocations: 0.6684 MB / 382.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.379, allocations: 1.813 MB / 384.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.386, allocations: 7.411 MB / 392.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.386, allocations: 0 / 392.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.386, allocations: 0 / 392.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.3862, allocations: 0 / 392.1 MB, free: 3.633 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01075/0.3969, allocations: 4.006 MB / 396.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.397, allocations: 11.3 kB / 396.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001226/0.3982, allocations: 0.5967 MB / 396.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/0.4054, allocations: 1.267 MB / 398 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/0.4095, allocations: 2.231 MB / 400.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.4098, allocations: 318.2 kB / 400.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007575/0.4105, allocations: 408.3 kB / 400.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.4213, allocations: 5.491 MB / 406.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.654e-05/0.4214, allocations: 0 / 406.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003979/0.4218, allocations: 172 kB / 406.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.422, allocations: 184.5 kB / 406.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.4308, allocations: 4.818 MB / 411.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02654/0.4574, allocations: 19.37 MB / 431 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.4621, allocations: 3.926 MB / 434.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4635, allocations: 0.8232 MB / 435.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.4636, allocations: 112.2 kB / 435.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4637, allocations: 47.5 kB / 435.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.276e-06/0.4637, allocations: 4 kB / 435.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.00258/0.4663, allocations: 1.669 MB / 437.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.4664, allocations: 60.41 kB / 437.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.4687, allocations: 1.334 MB / 438.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.4688, allocations: 45.7 kB / 439 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.4699, allocations: 1.756 MB / 440.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.4703, allocations: 388.5 kB / 441.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.4706, allocations: 174 kB / 441.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4707, allocations: 349.9 kB / 441.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.4721, allocations: 0.867 MB / 442.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.4741, allocations: 1.863 MB / 444.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.4775, allocations: 2.877 MB / 447.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/0.4776, allocations: 12 kB / 447.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004508/0.4821, allocations: 2.809 MB / 450.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.4821, allocations: 23.98 kB / 450.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.587e-05/0.4822, allocations: 36 kB / 450.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.833e-05/0.4823, allocations: 44 kB / 450.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.484, allocations: 0.5215 MB / 450.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.628e-05/0.484, allocations: 66.05 kB / 450.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4856, allocations: 293.6 kB / 451 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.4858, allocations: 120 kB / 451.1 MB, free: 11.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * 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.002746/0.4886, allocations: 1.482 MB / 452.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.4889, allocations: 126.3 kB / 452.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.4914, allocations: 1.544 MB / 454.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001531/0.493, allocations: 1.119 MB / 455.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.493, allocations: 0 / 455.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.493, allocations: 7.969 kB / 455.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/0.5113, allocations: 12.38 MB / 467.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.855e-05/0.5114, allocations: 20 kB / 467.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/0.5123, allocations: 230.5 kB / 468 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.942e-05/0.5123, allocations: 28 kB / 468.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.5125, allocations: 44 kB / 468.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-05/0.5125, allocations: 47.55 kB / 468.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.5125, allocations: 31.41 kB / 468.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.5161, allocations: 2.801 MB / 471 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008111/0.5169, allocations: 347.1 kB / 471.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.5173, allocations: 47.92 kB / 471.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.5183, allocations: 75.41 kB / 471.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5185, allocations: 142.5 kB / 471.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5186, allocations: 55.98 kB / 471.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.5204, allocations: 0.9062 MB / 472.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5204, allocations: 3.75 kB / 472.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003383/0.5238, allocations: 0.8663 MB / 473.4 MB, free: 4.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * 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.004237/0.528, allocations: 3.441 MB / 476.9 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.5313, allocations: 1.955 MB / 478.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.5313, allocations: 8.125 kB / 478.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.5323, allocations: 0.673 MB / 479.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/0.5374, allocations: 341.3 kB / 479.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/0.5678, allocations: 21.04 MB / 0.4891 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.5704, allocations: 2.813 MB / 0.4919 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001866/0.5723, allocations: 0.7656 MB / 0.4926 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.5737, allocations: 1.136 MB / 0.4937 GB, free: 2.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5737, allocations: 0 / 0.4937 GB, free: 2.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/0.8596, allocations: 37.8 MB / 0.5307 GB, free: 141.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.8599, allocations: 217.5 kB / 0.5309 GB, free: 141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.585, allocations: 3 kB / 0.5309 GB, free: 141 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches