Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 173.9 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9663/0.9663, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.577e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006832/0.006848, allocations: 8.653 MB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.011, allocations: 2.728 MB / 284.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.01156, allocations: 71.69 kB / 284.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.01502, allocations: 3.97 MB / 288.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.01644, allocations: 0.7567 MB / 289.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.01768, allocations: 0.9147 MB / 290.6 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1178/0.1355, allocations: 3.771 MB / 294.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006538/0.142, allocations: 6.336 MB / 300.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.1452, allocations: 3.226 MB / 303.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.1475, allocations: 2.348 MB / 306.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.1481, allocations: 0.5855 MB / 306.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000971/0.1491, allocations: 0.8328 MB / 307.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.1496, allocations: 1.141 MB / 308.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.1508, allocations: 1.543 MB / 310.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.1532, allocations: 3.974 MB / 314.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1532, allocations: 0 / 314.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1532, allocations: 0 / 314.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.1532, allocations: 0.5 kB / 314.3 MB, free: 4.832 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.004813/0.1581, allocations: 4.744 MB / 319.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1581, allocations: 8.031 kB / 319.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/0.1628, allocations: 1.702 MB / 320.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1644, allocations: 1.201 MB / 322 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1645, allocations: 321.2 kB / 322.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003674/0.1649, allocations: 410.8 kB / 322.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.1679, allocations: 2.719 MB / 325.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.1679, allocations: 4 kB / 325.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.1682, allocations: 172.5 kB / 325.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.1683, allocations: 180.6 kB / 325.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1699, allocations: 1.064 MB / 326.8 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.1805, allocations: 11.94 MB / 338.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.182, allocations: 1.133 MB / 339.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.1823, allocations: 338.2 kB / 340.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.143e-05/0.1824, allocations: 44.97 kB / 340.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1825, allocations: 44.88 kB / 340.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 2.395e-06/0.1825, allocations: 0 / 340.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0006511/0.1831, allocations: 0.5096 MB / 340.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1831, allocations: 60.41 kB / 340.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.1837, allocations: 0.9337 MB / 341.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.1838, allocations: 45.7 kB / 341.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007858/0.1846, allocations: 1.752 MB / 343.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1847, allocations: 381.5 kB / 344 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.1851, allocations: 413.7 kB / 344.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1852, allocations: 353.5 kB / 344.7 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1855, allocations: 287.2 kB / 345 MB, free: 7.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.1861, allocations: 1.19 MB / 346.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1873, allocations: 1.674 MB / 347.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.1873, allocations: 12 kB / 347.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001252/0.1885, allocations: 1.317 MB / 349.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1886, allocations: 23.94 kB / 349.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.1886, allocations: 37.67 kB / 349.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/0.1886, allocations: 48 kB / 349.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.1895, allocations: 0.517 MB / 349.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.1895, allocations: 71.06 kB / 349.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.1903, allocations: 258.1 kB / 350.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.1904, allocations: 99.98 kB / 350.3 MB, free: 1.676 MB / 298.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.000373/0.1907, allocations: 261.3 kB / 350.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1909, allocations: 99.91 kB / 350.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.1916, allocations: 0.726 MB / 351.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003069/0.1919, allocations: 328.4 kB / 351.7 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1919, allocations: 0 / 351.7 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1919, allocations: 3.984 kB / 351.7 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.1962, allocations: 3.973 MB / 355.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.1962, allocations: 20 kB / 355.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.1966, allocations: 212.7 kB / 355.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.1966, allocations: 28 kB / 355.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.1967, allocations: 40 kB / 355.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.1967, allocations: 46 kB / 356 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.1967, allocations: 34.81 kB / 356 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.198, allocations: 1.543 MB / 357.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.1982, allocations: 192.3 kB / 357.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.1983, allocations: 47.98 kB / 357.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.1986, allocations: 39.98 kB / 357.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1987, allocations: 149.1 kB / 358 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.1988, allocations: 56.02 kB / 358 MB, free: 9.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.1991, allocations: 389.9 kB / 358.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1991, allocations: 0 / 358.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001457/0.2005, allocations: 0.8831 MB / 359.3 MB, free: 8.648 MB / 314.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.0002277/0.2007, allocations: 192 kB / 359.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.2015, allocations: 0.926 MB / 360.4 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.612e-05/0.2016, allocations: 32.72 kB / 360.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.2019, allocations: 309.9 kB / 360.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.2029, allocations: 347.4 kB / 361.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.2082, allocations: 5.613 MB / 366.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.2088, allocations: 0.7187 MB / 367.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.2093, allocations: 224.7 kB / 367.6 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.2097, allocations: 321.2 kB / 367.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2098, allocations: 0 / 367.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02302/0.2328, allocations: 17.36 MB / 385.3 MB, free: 14.93 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.884195317979902]