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.001039/0.001039, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2622, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01001/0.2723, allocations: 9.736 MB / 418.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.277, allocations: 2.756 MB / 421.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.2776, allocations: 79.75 kB / 421.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008036/0.2857, allocations: 4.18 MB / 425.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.2881, allocations: 0.7682 MB / 426.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.2901, allocations: 0.9499 MB / 427.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.2941, allocations: 4.062 MB / 431.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.3059, allocations: 10.96 MB / 442.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.3086, allocations: 2.354 MB / 444.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.3118, allocations: 2.659 MB / 447.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008021/0.3126, allocations: 0.6641 MB / 447.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.3142, allocations: 0.8904 MB / 448.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3153, allocations: 1.239 MB / 450.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.318, allocations: 2.553 MB / 452.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.3262, allocations: 8.904 MB / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3262, allocations: 0 / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3263, allocations: 4 kB / 461.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001929/0.3265, 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.01224/0.3387, allocations: 5.319 MB / 466.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3388, allocations: 8.031 kB / 466.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009066/0.3397, allocations: 0.6578 MB / 467.5 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007746/0.3474, allocations: 1.323 MB / 468.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/0.3522, allocations: 2.603 MB / 471.4 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.3525, allocations: 353.4 kB / 471.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006767/0.3532, allocations: 455.9 kB / 472.2 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009788/0.363, allocations: 6.094 MB / 478.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.615e-05/0.3631, allocations: 0 / 478.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.3635, allocations: 192 kB / 478.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3637, allocations: 193.5 kB / 478.7 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008759/0.3724, allocations: 5.276 MB / 484 MB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.4043, allocations: 20.96 MB / 0.4931 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/0.4111, allocations: 5.568 MB / 0.4985 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.4121, allocations: 0.659 MB / 0.4992 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.4124, allocations: 191.1 kB / 0.4994 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4124, allocations: 39.56 kB / 0.4994 GB, free: 8.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.697e-06/0.4124, allocations: 4 kB / 0.4994 GB, free: 8.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.00249/0.4149, allocations: 1.424 MB / 0.5008 GB, free: 7.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.415, allocations: 64.41 kB / 0.5009 GB, free: 7.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.4171, allocations: 1.461 MB / 0.5023 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4172, allocations: 45.64 kB / 0.5023 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.4184, allocations: 1.963 MB / 0.5042 GB, free: 3.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.4187, allocations: 351.2 kB / 0.5046 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006008/0.4193, allocations: 471.6 kB / 0.505 GB, free: 3.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4195, allocations: 361.9 kB / 0.5054 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.4205, allocations: 0.8124 MB / 0.5062 GB, free: 1.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.4224, allocations: 1.937 MB / 0.5081 GB, free: 15.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.4255, allocations: 2.924 MB / 0.5109 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.4256, allocations: 16 kB / 0.5109 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004206/0.4298, allocations: 2.79 MB / 0.5136 GB, free: 9.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.4298, allocations: 24 kB / 0.5137 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.4299, allocations: 36 kB / 0.5137 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.354e-05/0.4299, allocations: 56 kB / 0.5138 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4316, allocations: 0.5342 MB / 0.5143 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.333e-05/0.4316, allocations: 75.72 kB / 0.5144 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.433, allocations: 293.2 kB / 0.5146 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.4332, allocations: 124 kB / 0.5148 GB, free: 7.973 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.002698/0.4359, allocations: 1.671 MB / 0.5164 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.4361, allocations: 126.4 kB / 0.5165 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4381, allocations: 1.345 MB / 0.5178 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001211/0.4394, allocations: 0.9279 MB / 0.5187 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4394, allocations: 0 / 0.5187 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4394, allocations: 3.984 kB / 0.5187 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.4547, allocations: 13.49 MB / 0.5319 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.4547, allocations: 23.94 kB / 0.5319 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.4554, allocations: 211.6 kB / 0.5321 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-05/0.4554, allocations: 32.8 kB / 0.5322 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.4555, allocations: 43.94 kB / 0.5322 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/0.4556, allocations: 39.86 kB / 0.5322 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/0.4556, allocations: 31.88 kB / 0.5323 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.4583, allocations: 2.442 MB / 0.5346 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.4589, allocations: 323.2 kB / 0.535 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.459, allocations: 55.98 kB / 0.535 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.4597, allocations: 59.95 kB / 0.5351 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.4599, allocations: 131.4 kB / 0.5352 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.4599, allocations: 55.98 kB / 0.5352 GB, free: 1.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.4612, allocations: 0.9877 MB / 0.5362 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4612, allocations: 0 / 0.5362 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.2112/0.6724, allocations: 0.9391 MB / 0.5371 GB, free: 120 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.003769/0.6762, allocations: 3.081 MB / 0.5401 GB, free: 118.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.6787, allocations: 1.865 MB / 0.542 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.6787, allocations: 10.78 kB / 0.542 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.6794, allocations: 0.5717 MB / 0.5425 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.6815, allocations: 373.9 kB / 0.5429 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/0.7027, allocations: 19.51 MB / 0.5619 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.7047, allocations: 3.076 MB / 0.5649 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001471/0.7061, allocations: 0.8152 MB / 0.5657 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.7072, allocations: 1.252 MB / 0.567 GB, free: 101 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7072, allocations: 3.938 kB / 0.567 GB, free: 101 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/0.762, allocations: 42.37 MB / 0.6083 GB, free: 58.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.97, allocations: 13.66 kB / 0.6084 GB, free: 58.83 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.0.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