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.001619/0.001619, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2644, allocations: 50.54 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01194/0.2764, allocations: 9.748 MB / 418.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005693/0.2821, allocations: 2.744 MB / 421.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.2832, allocations: 75.81 kB / 421.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009506/0.2928, allocations: 4.188 MB / 425.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.296, allocations: 0.7648 MB / 426.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.2984, allocations: 0.9587 MB / 427.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.3036, allocations: 4.058 MB / 431.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.3181, allocations: 10.95 MB / 442.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.3216, allocations: 2.35 MB / 444.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.3257, allocations: 2.659 MB / 447.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.3271, allocations: 0.6641 MB / 447.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.3293, allocations: 0.8943 MB / 448.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3305, allocations: 1.239 MB / 450.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.3337, allocations: 2.56 MB / 452.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.344, allocations: 8.929 MB / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3441, allocations: 0 / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3441, allocations: 0 / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.3443, allocations: 0 / 461.5 MB, free: 12.51 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.01486/0.3592, allocations: 5.406 MB / 467 MB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3593, allocations: 12.03 kB / 467 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.3606, allocations: 0.6539 MB / 467.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008059/0.3687, allocations: 1.345 MB / 469 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.3741, allocations: 2.607 MB / 471.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.3745, allocations: 349.4 kB / 471.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.3758, allocations: 456 kB / 472.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3892, allocations: 6.098 MB / 478.5 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/0.3893, allocations: 0 / 478.5 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/0.3898, allocations: 188 kB / 478.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.39, allocations: 197.5 kB / 478.8 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4006, allocations: 5.276 MB / 484.1 MB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.4345, allocations: 21.03 MB / 0.4933 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/0.4415, allocations: 5.572 MB / 0.4987 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4426, allocations: 0.659 MB / 0.4994 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.4428, allocations: 191.2 kB / 0.4996 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4429, allocations: 43.56 kB / 0.4996 GB, free: 8.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.816e-06/0.4429, allocations: 0 / 0.4996 GB, free: 8.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002377/0.4453, allocations: 1.437 MB / 0.501 GB, free: 7.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4453, allocations: 60.41 kB / 0.5011 GB, free: 7.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.4476, allocations: 1.462 MB / 0.5025 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.4477, allocations: 41.7 kB / 0.5025 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.4492, allocations: 2.049 MB / 0.5045 GB, free: 3.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.4495, allocations: 361.1 kB / 0.5049 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/0.4502, allocations: 475.9 kB / 0.5053 GB, free: 2.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4504, allocations: 361.9 kB / 0.5057 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4516, allocations: 0.8085 MB / 0.5065 GB, free: 1.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.4539, allocations: 1.941 MB / 0.5084 GB, free: 15.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.4577, allocations: 2.92 MB / 0.5112 GB, free: 11.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.4578, allocations: 12 kB / 0.5112 GB, free: 11.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004593/0.4624, allocations: 2.798 MB / 0.514 GB, free: 8.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.4624, allocations: 24 kB / 0.514 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.579e-05/0.4625, allocations: 40 kB / 0.514 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.606e-05/0.4626, allocations: 52 kB / 0.5141 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4644, allocations: 0.5309 MB / 0.5146 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.4645, allocations: 79.72 kB / 0.5147 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.466, allocations: 302 kB / 0.515 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.4662, allocations: 128 kB / 0.5151 GB, free: 7.688 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.00277/0.469, allocations: 1.668 MB / 0.5167 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.4693, allocations: 135.1 kB / 0.5168 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.4717, allocations: 1.342 MB / 0.5181 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00143/0.4731, allocations: 0.924 MB / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4731, allocations: 0 / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4731, allocations: 3.984 kB / 0.519 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.4934, allocations: 13.51 MB / 0.5322 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-05/0.4935, allocations: 20 kB / 0.5323 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.4944, allocations: 211.6 kB / 0.5325 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.531e-05/0.4944, allocations: 24 kB / 0.5325 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.4946, allocations: 47.98 kB / 0.5325 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.63e-05/0.4946, allocations: 39.8 kB / 0.5326 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.4947, allocations: 31.81 kB / 0.5326 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.4983, allocations: 2.45 MB / 0.535 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/0.4991, allocations: 327.9 kB / 0.5353 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.4994, allocations: 47.92 kB / 0.5353 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.5003, allocations: 67.94 kB / 0.5354 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.5005, allocations: 127.5 kB / 0.5355 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5007, allocations: 52 kB / 0.5356 GB, free: 1.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.5026, allocations: 0.9916 MB / 0.5365 GB, free: 436 kB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5026, allocations: 0 / 0.5365 GB, free: 436 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2296/0.7322, allocations: 0.9547 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.003876/0.7361, allocations: 3.095 MB / 0.5405 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.7387, allocations: 1.863 MB / 0.5423 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.7387, allocations: 3.969 kB / 0.5423 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006883/0.7394, allocations: 0.5789 MB / 0.5429 GB, free: 117.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7415, allocations: 376.4 kB / 0.5433 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.7636, allocations: 19.62 MB / 0.5624 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.766, allocations: 3.068 MB / 0.5654 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.7676, allocations: 0.8181 MB / 0.5662 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.7687, allocations: 1.25 MB / 0.5674 GB, free: 100.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7687, allocations: 0 / 0.5674 GB, free: 100.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06825/0.837, allocations: 42.58 MB / 0.609 GB, free: 58.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.29, allocations: 19.12 kB / 0.609 GB, free: 58.1 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.1.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