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.001047/0.001047, allocations: 116 kB / 16.63 MB, free: 6.812 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.00101/0.00101, allocations: 186 kB / 17.55 MB, free: 5.934 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.332/1.332, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 38.12 kB / 300.2 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08385, allocations: 49.45 MB / 349.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01546/0.09936, allocations: 9.599 MB / 359.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.1061, allocations: 2.643 MB / 361.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1073, allocations: 79.75 kB / 362 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01426/0.1216, allocations: 3.98 MB / 366 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.1264, allocations: 0.8203 MB / 366.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.1296, allocations: 0.751 MB / 367.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1739/0.3036, allocations: 4.016 MB / 371.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01416/0.3178, allocations: 12.72 MB / 384.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.3207, allocations: 2.383 MB / 386.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.3234, allocations: 2.67 MB / 389.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007472/0.3241, allocations: 0.6652 MB / 390 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3253, allocations: 0.877 MB / 390.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000695/0.326, allocations: 1.247 MB / 392.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.3276, allocations: 2.559 MB / 394.7 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.3331, allocations: 8.843 MB / 403.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3331, allocations: 11.98 kB / 403.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3331, allocations: 0 / 403.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.484e-05/0.3332, allocations: 0 / 403.6 MB, free: 10.86 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.009427/0.3426, allocations: 5.333 MB / 408.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3427, allocations: 8.031 kB / 408.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007013/0.3434, allocations: 0.6539 MB / 409.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006589/0.35, allocations: 1.298 MB / 410.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.353, allocations: 2.504 MB / 413.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3532, allocations: 348.4 kB / 413.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005365/0.3537, allocations: 459.8 kB / 414.1 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/0.362, allocations: 6.114 MB / 420.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/0.3621, allocations: 3.984 kB / 420.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.3625, allocations: 187.1 kB / 420.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.3626, allocations: 193.5 kB / 420.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006821/0.3695, allocations: 5.296 MB / 425.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.3908, allocations: 21.02 MB / 446.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/0.3963, allocations: 5.611 MB / 452.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.3971, allocations: 0.702 MB / 453.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.3973, allocations: 109.9 kB / 453.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3973, allocations: 47.5 kB / 453.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.454e-06/0.3973, allocations: 0 / 453.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.001953/0.3993, allocations: 1.547 MB / 455 MB, free: 6.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3993, allocations: 60.41 kB / 455 MB, free: 6.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4008, allocations: 1.457 MB / 456.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.4009, allocations: 45.7 kB / 456.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.4018, allocations: 1.96 MB / 458.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.402, allocations: 372.6 kB / 458.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.4026, allocations: 475.8 kB / 459.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4027, allocations: 353.9 kB / 459.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4037, allocations: 0.8452 MB / 460.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.4053, allocations: 1.985 MB / 462.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.408, allocations: 3 MB / 465.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.408, allocations: 8 kB / 465.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003431/0.4115, allocations: 2.874 MB / 468.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4115, allocations: 23.94 kB / 468.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.4116, allocations: 40 kB / 468.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.125e-05/0.4116, allocations: 55.94 kB / 468.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4131, allocations: 0.5365 MB / 469 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.217e-05/0.4131, allocations: 86.53 kB / 469.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.4142, allocations: 289.1 kB / 469.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4144, allocations: 124 kB / 469.5 MB, free: 7.148 MB / 382.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 (285): * Single equations (assignments): 281 * 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.001881/0.4163, allocations: 1.667 MB / 471.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.4165, allocations: 134.2 kB / 471.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.4185, allocations: 1.426 MB / 472.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00126/0.4198, allocations: 1.01 MB / 473.7 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4198, allocations: 0 / 473.7 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4198, allocations: 3.984 kB / 473.7 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.4325, allocations: 12.24 MB / 486 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.4325, allocations: 20 kB / 486 MB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.4332, allocations: 217.2 kB / 486.2 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/0.4332, allocations: 24.78 kB / 486.2 MB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.4333, allocations: 44 kB / 486.3 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/0.4333, allocations: 39.02 kB / 486.3 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/0.4333, allocations: 30.69 kB / 486.4 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.436, allocations: 2.589 MB / 488.9 MB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.4364, allocations: 323.2 kB / 489.3 MB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4366, allocations: 56.05 kB / 489.3 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.4372, allocations: 59.95 kB / 489.4 MB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.4374, allocations: 141 kB / 489.5 MB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.4374, allocations: 52 kB / 489.6 MB, free: 2.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.4385, allocations: 0.9877 MB / 490.5 MB, free: 1.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4385, allocations: 0 / 490.5 MB, free: 1.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002194/0.4407, allocations: 0.9437 MB / 491.5 MB, free: 468 kB / 398.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 (101): * Single equations (assignments): 97 * 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.003004/0.4438, allocations: 3.232 MB / 494.7 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.4462, allocations: 1.973 MB / 496.7 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4462, allocations: 7.938 kB / 496.7 MB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.447, allocations: 0.6162 MB / 497.3 MB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.4489, allocations: 388.9 kB / 497.7 MB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.4758, allocations: 22.23 MB / 0.5077 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.4786, allocations: 3.072 MB / 0.5107 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001798/0.4804, allocations: 0.8093 MB / 0.5115 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.4818, allocations: 1.257 MB / 0.5128 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4818, allocations: 0 / 0.5128 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4783/0.9601, allocations: 42.09 MB / 0.5539 GB, free: 137.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.9603, allocations: 225.8 kB / 0.5541 GB, free: 137.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.659, allocations: 0 / 0.5541 GB, free: 137.6 MB / 446.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