Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01042/0.2906, allocations: 9.749 MB / 418.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.2971, allocations: 2.748 MB / 421.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.2994, allocations: 75.81 kB / 421.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009434/0.309, allocations: 4.2 MB / 425.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.3127, allocations: 0.7649 MB / 426.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.3155, allocations: 0.9526 MB / 427.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005368/0.3209, allocations: 4.062 MB / 431.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.3368, allocations: 10.96 MB / 442.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.3402, allocations: 2.357 MB / 444.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/0.344, allocations: 2.655 MB / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.3454, allocations: 0.668 MB / 448 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.348, allocations: 0.8904 MB / 448.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.3499, allocations: 1.239 MB / 450.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.354, allocations: 2.56 MB / 452.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.3683, allocations: 8.925 MB / 461.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.3684, allocations: 4 kB / 461.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3684, allocations: 0 / 461.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003245/0.3688, allocations: 0 / 461.6 MB, free: 12.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.0193/0.3881, allocations: 5.41 MB / 467 MB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3881, allocations: 8.031 kB / 467 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002131/0.3903, allocations: 0.6578 MB / 467.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008782/0.3991, allocations: 1.337 MB / 469 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005705/0.4048, allocations: 2.615 MB / 471.6 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.4052, allocations: 345.4 kB / 471.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.4067, allocations: 455.9 kB / 472.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.4217, allocations: 6.094 MB / 478.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.422, allocations: 3.984 kB / 478.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.4231, allocations: 188 kB / 478.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/0.4233, allocations: 201.5 kB / 478.9 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.4338, allocations: 5.264 MB / 484.1 MB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.4695, allocations: 21.03 MB / 0.4933 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006168/0.4757, allocations: 5.573 MB / 0.4988 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/0.4766, allocations: 0.6512 MB / 0.4994 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.4769, allocations: 191.2 kB / 0.4996 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4769, allocations: 43.56 kB / 0.4996 GB, free: 8.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.815e-06/0.4769, allocations: 0 / 0.4996 GB, free: 8.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002193/0.4791, allocations: 1.433 MB / 0.501 GB, free: 7.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4792, allocations: 68.41 kB / 0.5011 GB, free: 7.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.4815, allocations: 1.462 MB / 0.5025 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.4815, allocations: 37.7 kB / 0.5026 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.4828, allocations: 2.049 MB / 0.5046 GB, free: 3.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.4831, allocations: 361.1 kB / 0.5049 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006419/0.4837, allocations: 471.9 kB / 0.5053 GB, free: 2.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4839, allocations: 361.9 kB / 0.5057 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.485, allocations: 0.8124 MB / 0.5065 GB, free: 1.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.487, allocations: 1.933 MB / 0.5084 GB, free: 15.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.4902, allocations: 2.927 MB / 0.5112 GB, free: 11.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-05/0.4902, allocations: 12 kB / 0.5112 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004659/0.4949, allocations: 2.794 MB / 0.514 GB, free: 8.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.4949, allocations: 23.98 kB / 0.514 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.081e-05/0.495, allocations: 44.12 kB / 0.514 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.169e-05/0.4951, allocations: 56 kB / 0.5141 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.4967, allocations: 0.5381 MB / 0.5146 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.241e-05/0.4968, allocations: 75.72 kB / 0.5147 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.4983, allocations: 298 kB / 0.515 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.4985, allocations: 127.9 kB / 0.5151 GB, free: 7.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002893/0.5014, allocations: 1.671 MB / 0.5167 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.5018, allocations: 139.1 kB / 0.5169 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.5043, allocations: 1.342 MB / 0.5182 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001255/0.5056, allocations: 0.9279 MB / 0.5191 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5056, allocations: 0 / 0.5191 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5057, allocations: 3.984 kB / 0.5191 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/0.5239, allocations: 13.5 MB / 0.5323 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.08e-05/0.524, allocations: 20 kB / 0.5323 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.5248, allocations: 211.6 kB / 0.5325 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-05/0.5248, allocations: 28 kB / 0.5325 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.525, allocations: 47.94 kB / 0.5326 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.187e-05/0.525, allocations: 35.86 kB / 0.5326 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-05/0.525, allocations: 32.41 kB / 0.5326 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.5281, allocations: 2.447 MB / 0.535 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/0.5288, allocations: 327.9 kB / 0.5353 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.5291, allocations: 47.92 kB / 0.5354 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/0.5301, allocations: 64.02 kB / 0.5354 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.5302, allocations: 131.4 kB / 0.5356 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.5303, allocations: 56 kB / 0.5356 GB, free: 1.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.532, allocations: 0.9916 MB / 0.5366 GB, free: 400 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.532, allocations: 0 / 0.5366 GB, free: 400 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2231/0.7551, allocations: 0.9477 MB / 0.5375 GB, free: 119.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.00417/0.7594, allocations: 3.09 MB / 0.5405 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.7622, allocations: 1.866 MB / 0.5423 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.7623, allocations: 3.938 kB / 0.5423 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.763, allocations: 0.5684 MB / 0.5429 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.7653, allocations: 392.9 kB / 0.5433 GB, free: 117.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/0.788, allocations: 19.62 MB / 0.5624 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/0.7903, allocations: 3.07 MB / 0.5654 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001579/0.7919, allocations: 0.8219 MB / 0.5662 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.7931, allocations: 1.254 MB / 0.5675 GB, free: 100.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7931, allocations: 0 / 0.5675 GB, free: 100.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05806/0.8511, allocations: 42.58 MB / 0.609 GB, free: 58.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.97, allocations: 7.203 kB / 0.609 GB, free: 58.18 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches