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.001458/0.001458, allocations: 107.7 kB / 16.51 MB, free: 6.707 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.00166/0.00166, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009739/0.0009739, allocations: 51.67 kB / 300.1 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08617, allocations: 49.44 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009531/0.09573, allocations: 9.603 MB / 359.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.1006, allocations: 2.667 MB / 361.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.1021, allocations: 79.69 kB / 361.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008515/0.1107, allocations: 3.982 MB / 365.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.1143, allocations: 0.8153 MB / 366.7 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.1168, allocations: 0.7751 MB / 367.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1687/0.2855, allocations: 3.841 MB / 371.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.3002, allocations: 9.189 MB / 380.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/0.3038, allocations: 2.124 MB / 382.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.3086, allocations: 2.58 MB / 385.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.3106, allocations: 0.5113 MB / 385.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.3134, allocations: 0.7225 MB / 386.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.3153, allocations: 1.08 MB / 387.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.3186, allocations: 2.4 MB / 389.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.3254, allocations: 8.735 MB / 398.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3254, allocations: 2.781 kB / 398.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3255, allocations: 3.938 kB / 398.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000143/0.3256, allocations: 0 / 398.6 MB, free: 14.19 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.01227/0.3379, allocations: 5.323 MB / 403.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3379, allocations: 12.03 kB / 404 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009641/0.3389, allocations: 0.65 MB / 404.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/0.3463, allocations: 1.298 MB / 405.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.3506, allocations: 2.512 MB / 408.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.3509, allocations: 347.3 kB / 408.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000811/0.3517, allocations: 459.1 kB / 409.2 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.3634, allocations: 6.109 MB / 415.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.288e-05/0.3635, allocations: 11.91 kB / 415.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00042/0.3639, allocations: 191.6 kB / 415.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.3641, allocations: 193.5 kB / 415.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009633/0.3737, allocations: 5.298 MB / 421 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.4021, allocations: 21.01 MB / 442 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/0.4084, allocations: 5.608 MB / 447.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4095, allocations: 0.7045 MB / 448.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.4097, allocations: 109 kB / 448.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4097, allocations: 47.48 kB / 448.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.056e-06/0.4097, allocations: 0 / 448.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002386/0.4121, allocations: 1.548 MB / 450 MB, free: 11.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.4122, allocations: 60.41 kB / 450.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.4141, allocations: 1.457 MB / 451.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.4142, allocations: 41.7 kB / 451.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.4153, allocations: 1.963 MB / 453.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.4156, allocations: 364.7 kB / 453.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.4162, allocations: 479.7 kB / 454.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4164, allocations: 353.9 kB / 454.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.4176, allocations: 0.8476 MB / 455.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.4195, allocations: 1.977 MB / 457.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.4227, allocations: 3.003 MB / 460.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/0.4227, allocations: 12 kB / 460.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003987/0.4267, allocations: 2.869 MB / 463.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.4267, allocations: 27.88 kB / 463.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/0.4268, allocations: 44.16 kB / 463.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.182e-05/0.4268, allocations: 52 kB / 463.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.4285, allocations: 0.5376 MB / 464.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.095e-05/0.4286, allocations: 81.86 kB / 464.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4299, allocations: 293.1 kB / 464.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.4301, allocations: 124 kB / 464.6 MB, free: 11.82 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.002668/0.4328, allocations: 1.667 MB / 466.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.433, allocations: 134.2 kB / 466.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.4353, allocations: 1.423 MB / 467.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001408/0.4367, allocations: 1.014 MB / 468.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4368, allocations: 0 / 468.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4368, allocations: 7.453 kB / 468.8 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.453, allocations: 12.24 MB / 481.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4531, allocations: 24.03 kB / 481.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.4538, allocations: 210.8 kB / 481.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-05/0.4538, allocations: 24 kB / 481.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.4539, allocations: 47.98 kB / 481.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/0.454, allocations: 42.95 kB / 481.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/0.454, allocations: 31.41 kB / 481.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.457, allocations: 2.581 MB / 484 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.4575, allocations: 331.1 kB / 484.3 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.4577, allocations: 43.98 kB / 484.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.4584, allocations: 59.95 kB / 484.4 MB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4585, allocations: 134.6 kB / 484.6 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.4586, allocations: 59.92 kB / 484.6 MB, free: 7.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.46, allocations: 0.9955 MB / 485.6 MB, free: 6.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.46, allocations: 4 kB / 485.6 MB, free: 6.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002627/0.4627, allocations: 0.9321 MB / 486.6 MB, free: 5.121 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.003309/0.466, allocations: 3.237 MB / 489.8 MB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.4686, allocations: 1.909 MB / 491.7 MB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4686, allocations: 7.938 kB / 491.7 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.4694, allocations: 0.6176 MB / 492.3 MB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.4714, allocations: 376.6 kB / 492.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/0.5003, allocations: 22.23 MB / 0.5028 GB, free: 6.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.5033, allocations: 3.075 MB / 0.5059 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002094/0.5054, allocations: 0.8171 MB / 0.5067 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.5069, allocations: 1.257 MB / 0.5079 GB, free: 1.574 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.507, allocations: 0 / 0.5079 GB, free: 1.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2049/0.7118, allocations: 41.43 MB / 0.5483 GB, free: 144.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.712, allocations: 215.1 kB / 0.5485 GB, free: 144.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.167, allocations: 2.5 kB / 0.5485 GB, free: 144.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