Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.000866/0.000866, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0008741/0.0008741, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9175/0.9175, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.493e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006688/0.006702, allocations: 8.883 MB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.01038, allocations: 2.608 MB / 284.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.01094, allocations: 75.69 kB / 284.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.0146, allocations: 3.998 MB / 288.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.01595, allocations: 0.7723 MB / 289.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.01709, allocations: 0.9197 MB / 290.2 MB, free: 104 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1112/0.1283, allocations: 3.769 MB / 293.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005915/0.1342, allocations: 6.14 MB / 300.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.1371, allocations: 3.21 MB / 303.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.139, allocations: 2.302 MB / 305.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.1396, allocations: 0.586 MB / 306.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008699/0.1405, allocations: 0.8094 MB / 307 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.141, allocations: 1.14 MB / 308.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009616/0.1419, allocations: 1.546 MB / 309.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.1441, allocations: 3.973 MB / 313.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1441, allocations: 0 / 313.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1441, allocations: 0.875 kB / 313.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.1441, allocations: 0 / 313.6 MB, free: 5.602 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005073/0.1492, allocations: 5.292 MB / 318.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1493, allocations: 12.58 kB / 318.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.1534, allocations: 1.789 MB / 320.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.1556, allocations: 2.169 MB / 322.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.1557, allocations: 314.2 kB / 323.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/0.1561, allocations: 412 kB / 323.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.1597, allocations: 2.507 MB / 326.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-05/0.1597, allocations: 4 kB / 326.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.16, allocations: 168 kB / 326.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.1601, allocations: 180.6 kB / 326.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.1629, allocations: 1.541 MB / 328 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.1764, allocations: 15.72 MB / 343.7 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.1784, allocations: 1.531 MB / 345.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.179, allocations: 411.7 kB / 345.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.251e-05/0.1791, allocations: 48.97 kB / 345.7 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1791, allocations: 42.39 kB / 345.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 2.144e-06/0.1791, allocations: 0 / 345.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001078/0.1802, allocations: 0.796 MB / 346.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1802, allocations: 72.33 kB / 346.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.1814, allocations: 1.399 MB / 348 MB, free: 3.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.1815, allocations: 37.7 kB / 348.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/0.1823, allocations: 1.957 MB / 350 MB, free: 1.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.1825, allocations: 391.7 kB / 350.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004291/0.1829, allocations: 0.5054 MB / 350.9 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.183, allocations: 0.5277 MB / 351.4 MB, free: 28 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.1835, allocations: 284.1 kB / 351.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.1846, allocations: 1.777 MB / 353.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.1864, allocations: 2.26 MB / 355.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.1864, allocations: 12 kB / 355.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001997/0.1884, allocations: 1.768 MB / 357.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1884, allocations: 20.62 kB / 357.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.1885, allocations: 37.56 kB / 357.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/0.1885, allocations: 44 kB / 357.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.1894, allocations: 0.5278 MB / 358.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.102e-05/0.1894, allocations: 70.62 kB / 358.2 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.1901, allocations: 290.1 kB / 358.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.1902, allocations: 120 kB / 358.6 MB, free: 7.941 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.0004558/0.1907, allocations: 313.1 kB / 358.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.1908, allocations: 159.2 kB / 359.1 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.1919, allocations: 0.9358 MB / 360 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005826/0.1924, allocations: 0.5025 MB / 360.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1925, allocations: 11.67 kB / 360.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1925, allocations: 7.922 kB / 360.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.1984, allocations: 4.942 MB / 365.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.1984, allocations: 20 kB / 365.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.1988, allocations: 234.8 kB / 365.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.1988, allocations: 28 kB / 365.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.1989, allocations: 51.98 kB / 365.8 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.1989, allocations: 38.52 kB / 365.8 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/0.1989, allocations: 34.12 kB / 365.9 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.2005, allocations: 1.925 MB / 367.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.2007, allocations: 244.3 kB / 368 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.2008, allocations: 59.91 kB / 368.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.2012, allocations: 63.95 kB / 368.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2013, allocations: 153.7 kB / 368.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.2014, allocations: 60 kB / 368.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006058/0.202, allocations: 0.6327 MB / 369 MB, free: 12.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.202, allocations: 0 / 369 MB, free: 12.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001616/0.2036, allocations: 0.8793 MB / 369.9 MB, free: 12.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0002735/0.2039, allocations: 211.6 kB / 370.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2051, allocations: 1.135 MB / 371.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2051, allocations: 0 / 371.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.2055, allocations: 348.9 kB / 371.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2066, allocations: 336.2 kB / 371.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.2123, allocations: 5.829 MB / 377.7 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.213, allocations: 0.9998 MB / 378.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008848/0.2139, allocations: 0.6717 MB / 379.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.2141, allocations: 116.5 kB / 379.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2141, allocations: 4 kB / 379.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01973/0.2338, allocations: 15.78 MB / 395.3 MB, free: 2.707 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.178623435087502]