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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 116.7 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 214.9 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2758, allocations: 53.41 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01166/0.2874, allocations: 9.803 MB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.2931, allocations: 2.783 MB / 443.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.2941, allocations: 95.56 kB / 443.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009199/0.3033, allocations: 4.22 MB / 448.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.3067, allocations: 0.7876 MB / 448.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.3092, allocations: 0.9804 MB / 449.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005262/0.3145, allocations: 4.085 MB / 454 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.3254, allocations: 7.129 MB / 461.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.3294, allocations: 2.404 MB / 463.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.334, allocations: 2.663 MB / 466.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.3355, allocations: 0.6679 MB / 466.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.3383, allocations: 0.9021 MB / 467.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.3396, allocations: 1.239 MB / 469 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.3438, allocations: 2.556 MB / 471.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3555, allocations: 8.925 MB / 480.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3555, allocations: 0 / 480.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3555, allocations: 3.938 kB / 480.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.3557, allocations: 4 kB / 480.4 MB, free: 5.316 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.01424/0.3699, allocations: 5.33 MB / 485.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.37, allocations: 8.031 kB / 485.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001105/0.3711, allocations: 0.6617 MB / 486.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007852/0.3789, allocations: 1.313 MB / 487.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.3849, allocations: 2.602 MB / 490.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.3852, allocations: 349.4 kB / 490.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.3862, allocations: 448 kB / 491.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.3992, allocations: 6.109 MB / 497.3 MB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.821e-05/0.3993, allocations: 3.953 kB / 497.3 MB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004861/0.3997, allocations: 192 kB / 497.4 MB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.4, allocations: 193.5 kB / 497.6 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.4114, allocations: 5.284 MB / 0.4911 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.4477, allocations: 20.24 MB / 0.5109 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.4526, allocations: 2.109 MB / 0.513 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.4539, allocations: 0.5961 MB / 0.5135 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.4541, allocations: 48.94 kB / 0.5136 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.4542, allocations: 39.56 kB / 0.5136 GB, free: 7.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.238e-06/0.4542, allocations: 0 / 0.5136 GB, free: 7.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.003578/0.4578, allocations: 1.437 MB / 0.515 GB, free: 5.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.4578, allocations: 64.41 kB / 0.5151 GB, free: 5.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/0.4611, allocations: 1.462 MB / 0.5165 GB, free: 4.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.4612, allocations: 41.7 kB / 0.5165 GB, free: 4.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.4633, allocations: 2.049 MB / 0.5186 GB, free: 1.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.4637, allocations: 365.1 kB / 0.5189 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4648, allocations: 475.9 kB / 0.5194 GB, free: 1.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.465, allocations: 361.9 kB / 0.5197 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4669, allocations: 0.8046 MB / 0.5205 GB, free: 15.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.4702, allocations: 1.945 MB / 0.5224 GB, free: 13.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.4756, allocations: 2.927 MB / 0.5252 GB, free: 9.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/0.4756, allocations: 12 kB / 0.5253 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00693/0.4825, allocations: 2.801 MB / 0.528 GB, free: 7.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.4826, allocations: 25 kB / 0.528 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-05/0.4827, allocations: 40 kB / 0.5281 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.492e-05/0.4827, allocations: 56 kB / 0.5281 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.4853, allocations: 0.542 MB / 0.5286 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/0.4855, allocations: 79.72 kB / 0.5287 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.4878, allocations: 297.9 kB / 0.529 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.4881, allocations: 124 kB / 0.5291 GB, free: 6.02 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.00395/0.492, allocations: 1.668 MB / 0.5307 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.4924, allocations: 135.1 kB / 0.5309 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/0.4958, allocations: 1.342 MB / 0.5322 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001991/0.4978, allocations: 0.9357 MB / 0.5331 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4978, allocations: 0 / 0.5331 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.4978, allocations: 3.984 kB / 0.5331 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2578/0.7556, allocations: 11.11 MB / 0.5439 GB, free: 92.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.7556, allocations: 19.78 kB / 0.544 GB, free: 92.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.7564, allocations: 219.4 kB / 0.5442 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/0.7564, allocations: 27.5 kB / 0.5442 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.7565, allocations: 50.97 kB / 0.5442 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.998e-05/0.7565, allocations: 39.17 kB / 0.5443 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/0.7565, allocations: 27.66 kB / 0.5443 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.7589, allocations: 2.469 MB / 0.5467 GB, free: 91.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.7596, allocations: 254.1 kB / 0.547 GB, free: 91.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.7598, allocations: 43.61 kB / 0.547 GB, free: 91.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.7605, allocations: 63.23 kB / 0.5471 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.7606, allocations: 141.1 kB / 0.5472 GB, free: 91.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.7607, allocations: 53.34 kB / 0.5472 GB, free: 91.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.7618, allocations: 0.996 MB / 0.5482 GB, free: 90.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7618, allocations: 0 / 0.5482 GB, free: 90.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002763/0.7646, allocations: 0.9489 MB / 0.5491 GB, free: 90.62 MB / 446.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.002628/0.7672, allocations: 3.094 MB / 0.5522 GB, free: 88.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.7697, allocations: 1.802 MB / 0.5539 GB, free: 87.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.7697, allocations: 4.594 kB / 0.5539 GB, free: 87.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.7703, allocations: 0.5588 MB / 0.5545 GB, free: 87.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.7723, allocations: 386.2 kB / 0.5548 GB, free: 87.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/0.795, allocations: 19.61 MB / 0.574 GB, free: 66.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.7971, allocations: 3.075 MB / 0.577 GB, free: 63.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.7986, allocations: 0.8093 MB / 0.5778 GB, free: 62.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.7997, allocations: 1.257 MB / 0.579 GB, free: 61.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7997, allocations: 0 / 0.579 GB, free: 61.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0759/0.8756, allocations: 45.02 MB / 0.623 GB, free: 16.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.5, allocations: 7.922 kB / 0.623 GB, free: 16.74 MB / 446.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.086071027002617]