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.001015/0.001015, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 58.19 kB / 306.3 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08868, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009681/0.09839, allocations: 9.611 MB / 366.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.103, allocations: 2.741 MB / 369.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1041, allocations: 75.81 kB / 369.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1672/0.2714, allocations: 3.973 MB / 373.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.2742, allocations: 0.671 MB / 374 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.2761, allocations: 0.9048 MB / 374.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003895/0.28, allocations: 3.856 MB / 378.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.2925, allocations: 9.195 MB / 387.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.2958, allocations: 2.13 MB / 390 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.2991, allocations: 2.583 MB / 392.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008031/0.2999, allocations: 0.5134 MB / 393.1 MB, free: 2.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.3015, allocations: 0.7437 MB / 393.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.3025, allocations: 1.08 MB / 395 MB, free: 1.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.3053, allocations: 2.395 MB / 397.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3132, allocations: 8.749 MB / 406.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3132, allocations: 0 / 406.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3132, allocations: 4 kB / 406.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002072/0.3135, allocations: 0 / 406.1 MB, free: 8.746 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.01242/0.3259, allocations: 5.335 MB / 411.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3259, allocations: 8.031 kB / 411.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009293/0.3269, allocations: 0.6528 MB / 412.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/0.3345, allocations: 1.328 MB / 413.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.3384, allocations: 2.507 MB / 415.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.3386, allocations: 347.3 kB / 416.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006811/0.3393, allocations: 457.6 kB / 416.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.35, allocations: 6.111 MB / 422.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/0.3501, allocations: 3.906 kB / 422.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.3506, allocations: 192 kB / 423 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.3507, allocations: 197.5 kB / 423.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008118/0.3589, allocations: 5.288 MB / 428.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.3833, allocations: 21.26 MB / 449.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005736/0.3891, allocations: 5.619 MB / 455.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009559/0.3901, allocations: 0.7044 MB / 456.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.3903, allocations: 194.1 kB / 456.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3903, allocations: 51.44 kB / 456.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.3903, allocations: 0 / 456.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002206/0.3926, allocations: 1.545 MB / 457.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3926, allocations: 60.41 kB / 457.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.3944, allocations: 1.457 MB / 459.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3944, allocations: 45.69 kB / 459.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.3955, allocations: 1.962 MB / 461.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.3958, allocations: 368.9 kB / 461.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005419/0.3963, allocations: 475.8 kB / 462.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3965, allocations: 353.9 kB / 462.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3975, allocations: 0.8437 MB / 463.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3994, allocations: 1.98 MB / 465.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.4026, allocations: 3.002 MB / 468.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.4026, allocations: 12 kB / 468.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003795/0.4064, allocations: 2.867 MB / 471.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.4065, allocations: 27.94 kB / 471.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.4065, allocations: 40 kB / 471.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.583e-05/0.4066, allocations: 56 kB / 471.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.4081, allocations: 0.5381 MB / 471.9 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.917e-05/0.4081, allocations: 80.22 kB / 472 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4093, allocations: 289.1 kB / 472.3 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4095, allocations: 128 kB / 472.4 MB, free: 3.738 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.002244/0.4117, allocations: 1.671 MB / 474.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4119, allocations: 134.2 kB / 474.2 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.4139, allocations: 1.424 MB / 475.7 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001289/0.4152, allocations: 1.01 MB / 476.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4152, allocations: 0 / 476.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4153, allocations: 7.969 kB / 476.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.4296, allocations: 13.53 MB / 490.2 MB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/0.4296, allocations: 23.98 kB / 490.2 MB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.4303, allocations: 207.6 kB / 490.4 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.443e-05/0.4304, allocations: 28 kB / 490.5 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/0.4304, allocations: 47.94 kB / 490.5 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.4305, allocations: 40.48 kB / 490.5 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/0.4305, allocations: 31.88 kB / 490.6 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4333, allocations: 2.585 MB / 493.2 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.4338, allocations: 331.1 kB / 493.5 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.434, allocations: 43.98 kB / 493.5 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.4346, allocations: 68 kB / 493.6 MB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4348, allocations: 135.3 kB / 493.7 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.4348, allocations: 52 kB / 493.8 MB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.4361, allocations: 0.9916 MB / 494.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4361, allocations: 3.938 kB / 494.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002463/0.4386, allocations: 0.9438 MB / 495.7 MB, free: 11.21 MB / 414.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.003386/0.442, allocations: 3.204 MB / 498.9 MB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.4447, allocations: 1.916 MB / 0.4891 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.4448, allocations: 4 kB / 0.4891 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007822/0.4456, allocations: 0.6163 MB / 0.4897 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.4477, allocations: 374.9 kB / 0.4901 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02863/0.4763, allocations: 22.24 MB / 0.5118 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/0.4797, allocations: 3.075 MB / 0.5148 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001973/0.4817, allocations: 0.8094 MB / 0.5156 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.4831, allocations: 1.261 MB / 0.5168 GB, free: 7.367 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4832, allocations: 0 / 0.5168 GB, free: 7.367 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/0.7007, allocations: 41.31 MB / 0.5571 GB, free: 127.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.7009, allocations: 223.1 kB / 0.5574 GB, free: 126.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.01, allocations: 0 / 0.5574 GB, free: 126.9 MB / 446.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