Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 103.1 kB / 17.06 MB, free: 6.027 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.001908/0.001908, allocations: 195 kB / 18 MB, free: 5.105 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 47.86 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3043, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0116/0.316, allocations: 9.735 MB / 410 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.3216, allocations: 2.682 MB / 412.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.3228, allocations: 75.81 kB / 412.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008476/0.3313, allocations: 4.191 MB / 416.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.3346, allocations: 0.9164 MB / 417.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.3366, allocations: 0.8272 MB / 418.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.3417, allocations: 4.062 MB / 422.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.356, allocations: 10.95 MB / 433.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.3595, allocations: 2.357 MB / 436 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.3639, allocations: 2.651 MB / 438.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3658, allocations: 0.6641 MB / 439.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.3686, allocations: 0.8748 MB / 440.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.3706, allocations: 1.235 MB / 441.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004121/0.3747, allocations: 2.564 MB / 444 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009/0.3837, allocations: 8.885 MB / 452.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3838, allocations: 0 / 452.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3838, allocations: 0 / 452.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.384, allocations: 0 / 452.9 MB, free: 3.879 MB / 366.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.01351/0.3975, allocations: 5.307 MB / 458.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3976, allocations: 8.031 kB / 458.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009991/0.3986, allocations: 0.6539 MB / 458.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/0.4057, allocations: 1.299 MB / 460.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.4113, allocations: 2.599 MB / 462.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.4116, allocations: 345.4 kB / 463.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008454/0.4124, allocations: 463.9 kB / 463.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.4243, allocations: 6.09 MB / 469.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.775e-05/0.4244, allocations: 7.938 kB / 469.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.4248, allocations: 184 kB / 469.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.425, allocations: 193.5 kB / 470 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009126/0.4341, allocations: 5.276 MB / 475.3 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.4642, allocations: 20.73 MB / 496 MB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.4706, allocations: 5.576 MB / 0.4899 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/0.4716, allocations: 0.6512 MB / 0.4905 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.4717, allocations: 118.1 kB / 0.4906 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.4718, allocations: 39.56 kB / 0.4906 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.836e-06/0.4718, allocations: 0 / 0.4906 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002174/0.474, allocations: 1.42 MB / 0.492 GB, free: 15.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.474, allocations: 60.41 kB / 0.4921 GB, free: 15.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.476, allocations: 1.465 MB / 0.4935 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.476, allocations: 37.7 kB / 0.4936 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4772, allocations: 1.967 MB / 0.4955 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4775, allocations: 355.3 kB / 0.4958 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000568/0.4781, allocations: 471.5 kB / 0.4963 GB, free: 10.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4782, allocations: 357.9 kB / 0.4966 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.4793, allocations: 0.8046 MB / 0.4974 GB, free: 9.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.4811, allocations: 1.941 MB / 0.4993 GB, free: 7.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.4841, allocations: 2.935 MB / 0.5022 GB, free: 3.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.4841, allocations: 12 kB / 0.5022 GB, free: 3.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003909/0.4881, allocations: 2.785 MB / 0.5049 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.4881, allocations: 23.94 kB / 0.5049 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/0.4882, allocations: 40 kB / 0.5049 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-05/0.4882, allocations: 56 kB / 0.505 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.4898, allocations: 0.5381 MB / 0.5055 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.089e-05/0.4899, allocations: 75.72 kB / 0.5056 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.4911, allocations: 297.6 kB / 0.5059 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.4913, allocations: 123.9 kB / 0.506 GB, free: 15.77 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.002469/0.4937, allocations: 1.668 MB / 0.5076 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.494, allocations: 126.4 kB / 0.5078 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.496, allocations: 1.341 MB / 0.5091 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001198/0.4972, allocations: 0.9357 MB / 0.51 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4972, allocations: 0 / 0.51 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.4972, allocations: 3.984 kB / 0.51 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.5133, allocations: 12.19 MB / 0.5219 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.5134, allocations: 20.19 kB / 0.5219 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.5141, allocations: 215.6 kB / 0.5221 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.722e-05/0.5141, allocations: 28 kB / 0.5221 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.5142, allocations: 55.8 kB / 0.5222 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/0.5143, allocations: 35.86 kB / 0.5222 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-05/0.5143, allocations: 31.88 kB / 0.5223 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.5171, allocations: 2.442 MB / 0.5246 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.5177, allocations: 319.1 kB / 0.5249 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.5179, allocations: 51.92 kB / 0.525 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.5186, allocations: 67.94 kB / 0.5251 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.5187, allocations: 127.5 kB / 0.5252 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.5188, allocations: 59.94 kB / 0.5252 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.5201, allocations: 0.9915 MB / 0.5262 GB, free: 10.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5201, allocations: 4 kB / 0.5262 GB, free: 10.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002707/0.5228, allocations: 0.9476 MB / 0.5271 GB, free: 9.152 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.00323/0.5261, allocations: 3.083 MB / 0.5301 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.5287, allocations: 1.869 MB / 0.532 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.5287, allocations: 0 / 0.532 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.5295, allocations: 0.5741 MB / 0.5325 GB, free: 3.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.5315, allocations: 376.5 kB / 0.5329 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2371/0.7686, allocations: 19.51 MB / 0.5519 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/0.7709, allocations: 3.068 MB / 0.5549 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001499/0.7724, allocations: 0.8237 MB / 0.5557 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.7735, allocations: 1.253 MB / 0.557 GB, free: 117.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7735, allocations: 0 / 0.557 GB, free: 117.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.8316, allocations: 42.49 MB / 0.5985 GB, free: 75.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.03, allocations: 10.45 kB / 0.5985 GB, free: 75.18 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches