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.0008629/0.000863, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.0008506/0.0008507, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 7.984 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 50.41 MB / 351.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01007/0.1175, allocations: 8.968 MB / 360.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.123, allocations: 2.636 MB / 363.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.1247, allocations: 75.75 kB / 363.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.126, allocations: 0.5755 MB / 364.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.1283, allocations: 0.8158 MB / 365 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1299, allocations: 0.7547 MB / 365.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003745/0.1337, allocations: 3.847 MB / 369.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2056/0.3393, allocations: 11.1 MB / 380.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.3422, allocations: 1.631 MB / 382.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.3452, allocations: 1.936 MB / 384.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005629/0.3457, allocations: 277.4 kB / 384.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3471, allocations: 496.5 kB / 385 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.3478, allocations: 0.7304 MB / 385.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.3499, allocations: 2.015 MB / 387.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.3572, allocations: 8.357 MB / 396.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3573, allocations: 0 / 396.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3573, allocations: 0 / 396.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.3575, allocations: 0 / 396.1 MB, free: 1.016 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.0112/0.3687, allocations: 4.349 MB / 400.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3688, allocations: 8.469 kB / 400.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.3701, allocations: 0.6608 MB / 401.2 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007435/0.3775, allocations: 1.294 MB / 402.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/0.3821, allocations: 2.514 MB / 405 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.3824, allocations: 345 kB / 405.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007948/0.3832, allocations: 451.9 kB / 405.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.3949, allocations: 6.116 MB / 411.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.3951, allocations: 8 kB / 411.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/0.3955, allocations: 184 kB / 412.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.3958, allocations: 193.5 kB / 412.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.4058, allocations: 5.294 MB / 417.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/0.4403, allocations: 21.07 MB / 438.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.4472, allocations: 5.596 MB / 444.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4484, allocations: 0.7059 MB / 444.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.4486, allocations: 113.9 kB / 445 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4487, allocations: 50.12 kB / 445.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.016e-06/0.4487, allocations: 4 kB / 445.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002573/0.4513, allocations: 1.541 MB / 446.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4513, allocations: 67.03 kB / 446.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.4543, allocations: 1.461 MB / 448.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.4544, allocations: 37.7 kB / 448.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4559, allocations: 1.958 MB / 450.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.4563, allocations: 373.9 kB / 450.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.4567, allocations: 186.2 kB / 450.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4569, allocations: 357.9 kB / 451 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4583, allocations: 0.8476 MB / 451.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.4606, allocations: 1.975 MB / 453.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.4642, allocations: 3.005 MB / 456.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.714e-05/0.4642, allocations: 8 kB / 456.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004593/0.4688, allocations: 2.868 MB / 459.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.4689, allocations: 35.98 kB / 459.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.866e-05/0.4689, allocations: 40 kB / 459.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.972e-05/0.469, allocations: 52 kB / 459.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4706, allocations: 0.5318 MB / 460.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.563e-05/0.4707, allocations: 86.42 kB / 460.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4723, allocations: 301 kB / 460.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.4725, allocations: 120 kB / 460.9 MB, free: 1.668 MB / 366.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.002926/0.4754, allocations: 1.665 MB / 462.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4757, allocations: 134.5 kB / 462.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.478, allocations: 1.424 MB / 464.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001362/0.4794, allocations: 1.014 MB / 465.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4794, allocations: 4 kB / 465.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4794, allocations: 3.984 kB / 465.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.497, allocations: 12.24 MB / 477.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/0.4971, allocations: 20 kB / 477.4 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.4979, allocations: 213.7 kB / 477.6 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/0.4979, allocations: 24 kB / 477.6 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/0.498, allocations: 44 kB / 477.7 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-05/0.498, allocations: 35.11 kB / 477.7 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/0.4981, allocations: 38.67 kB / 477.7 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.5013, allocations: 2.588 MB / 480.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.502, allocations: 335.1 kB / 480.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.5023, allocations: 43.98 kB / 480.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.5031, allocations: 59.95 kB / 480.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5033, allocations: 137.9 kB / 480.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.5034, allocations: 55.97 kB / 480.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.5052, allocations: 0.9955 MB / 481.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5052, allocations: 0 / 481.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003056/0.5082, allocations: 0.9438 MB / 482.9 MB, free: 10.96 MB / 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.003649/0.5119, allocations: 3.224 MB / 486.1 MB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.515, allocations: 1.914 MB / 488 MB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.5151, allocations: 4.25 kB / 488 MB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.5159, allocations: 0.6129 MB / 488.6 MB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/0.5214, allocations: 373 kB / 489 MB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/0.5584, allocations: 22.28 MB / 0.4993 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004993/0.5634, allocations: 3.079 MB / 0.5023 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00225/0.5657, allocations: 0.8093 MB / 0.5031 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/0.5677, allocations: 1.257 MB / 0.5043 GB, free: 7.426 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5677, allocations: 0 / 0.5043 GB, free: 7.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2862/0.8539, allocations: 41 MB / 0.5444 GB, free: 147.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.8541, allocations: 222 kB / 0.5446 GB, free: 147.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.503, allocations: 4 kB / 0.5446 GB, free: 147.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