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.001331/0.001331, allocations: 122.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.001318/0.001318, allocations: 202 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.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 67.89 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3049, allocations: 50.54 MB / 408.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01199/0.317, allocations: 9.752 MB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.3236, allocations: 2.744 MB / 421.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.3254, allocations: 79.75 kB / 421.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009307/0.3347, allocations: 4.196 MB / 425.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.3383, allocations: 0.7645 MB / 426.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3407, allocations: 0.95 MB / 427.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.3457, allocations: 4.058 MB / 431.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.3604, allocations: 10.95 MB / 442.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.364, allocations: 2.357 MB / 444.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/0.3682, allocations: 2.655 MB / 447.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.3694, allocations: 0.6641 MB / 448 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.3715, allocations: 0.8904 MB / 448.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.3728, allocations: 1.235 MB / 450.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.3763, allocations: 2.56 MB / 452.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.3867, allocations: 8.929 MB / 461.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.3868, allocations: 4 kB / 461.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3868, allocations: 0 / 461.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002711/0.3871, allocations: 0 / 461.6 MB, free: 12.38 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.01668/0.4037, allocations: 5.406 MB / 467 MB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.4038, allocations: 8.031 kB / 467 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/0.4054, allocations: 0.6578 MB / 467.7 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008031/0.4134, allocations: 1.317 MB / 469 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.4185, allocations: 2.615 MB / 471.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.4188, allocations: 357.4 kB / 472 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009228/0.4197, allocations: 455.9 kB / 472.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.4318, allocations: 6.098 MB / 478.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.195e-05/0.4319, allocations: 4 kB / 478.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/0.4324, allocations: 192 kB / 478.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.4326, allocations: 201.5 kB / 478.9 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0098/0.4424, allocations: 5.272 MB / 484.2 MB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03333/0.4758, allocations: 21.02 MB / 0.4934 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007192/0.483, allocations: 5.58 MB / 0.4988 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.4842, allocations: 0.6551 MB / 0.4994 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.4845, allocations: 207.1 kB / 0.4996 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4846, allocations: 43.55 kB / 0.4997 GB, free: 8.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.136e-06/0.4846, allocations: 4 kB / 0.4997 GB, free: 8.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002424/0.487, allocations: 1.433 MB / 0.5011 GB, free: 7.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.4871, allocations: 60.41 kB / 0.5011 GB, free: 7.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4892, allocations: 1.462 MB / 0.5026 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.4893, allocations: 41.7 kB / 0.5026 GB, free: 5.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4907, allocations: 2.049 MB / 0.5046 GB, free: 3.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.491, allocations: 365.1 kB / 0.505 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006531/0.4917, allocations: 479.8 kB / 0.5054 GB, free: 2.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4919, allocations: 365.9 kB / 0.5058 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4931, allocations: 0.8085 MB / 0.5066 GB, free: 1.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.4953, allocations: 1.937 MB / 0.5084 GB, free: 14.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.4989, allocations: 2.931 MB / 0.5113 GB, free: 11.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/0.499, allocations: 12 kB / 0.5113 GB, free: 11.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004342/0.5033, allocations: 2.798 MB / 0.5141 GB, free: 8.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.5034, allocations: 32 kB / 0.5141 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.423e-05/0.5034, allocations: 36 kB / 0.5141 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.124e-05/0.5035, allocations: 56 kB / 0.5142 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.5051, allocations: 0.5381 MB / 0.5147 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-05/0.5052, allocations: 79.72 kB / 0.5148 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.5065, allocations: 298 kB / 0.5151 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.5067, allocations: 124 kB / 0.5152 GB, free: 7.531 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.002578/0.5093, allocations: 1.668 MB / 0.5168 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.5095, allocations: 135.1 kB / 0.5169 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.5116, allocations: 1.338 MB / 0.5182 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00131/0.513, allocations: 0.9318 MB / 0.5192 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.513, allocations: 0 / 0.5192 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.513, allocations: 7.969 kB / 0.5192 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.5305, allocations: 13.51 MB / 0.5324 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.5306, allocations: 20 kB / 0.5324 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.5313, allocations: 211.6 kB / 0.5326 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-05/0.5314, allocations: 24 kB / 0.5326 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5315, allocations: 51.88 kB / 0.5326 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.315e-05/0.5315, allocations: 39.86 kB / 0.5327 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.044e-05/0.5316, allocations: 31.88 kB / 0.5327 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.5347, allocations: 2.455 MB / 0.5351 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/0.5354, allocations: 331.9 kB / 0.5354 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.5355, allocations: 47.92 kB / 0.5355 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.5363, allocations: 67.92 kB / 0.5355 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.5364, allocations: 131.4 kB / 0.5357 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.5365, allocations: 59.92 kB / 0.5357 GB, free: 1.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.538, allocations: 0.9955 MB / 0.5367 GB, free: 232 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.538, allocations: 0 / 0.5367 GB, free: 232 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2269/0.765, allocations: 0.948 MB / 0.5376 GB, free: 119.8 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.003535/0.7686, allocations: 3.093 MB / 0.5406 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.7712, allocations: 1.867 MB / 0.5425 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.7712, allocations: 7.844 kB / 0.5425 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.772, allocations: 0.5756 MB / 0.543 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.002097/0.7741, allocations: 377.5 kB / 0.5434 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.7946, allocations: 19.6 MB / 0.5625 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.7967, allocations: 3.068 MB / 0.5655 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001447/0.7982, allocations: 0.8176 MB / 0.5663 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.7993, allocations: 1.259 MB / 0.5676 GB, free: 100.3 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7993, allocations: 4 kB / 0.5676 GB, free: 100.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07215/0.8714, allocations: 42.35 MB / 0.6089 GB, free: 58.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.65, allocations: 21.47 kB / 0.6089 GB, free: 58.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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