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.0009397/0.0009397, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009378/0.0009378, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9421/0.9421, allocations: 177.1 MB / 205 MB, free: 5.625 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.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.673e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008859/0.008876, allocations: 8.871 MB / 281.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.01286, allocations: 2.604 MB / 284.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.0134, allocations: 79.62 kB / 284.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.01824, allocations: 3.998 MB / 288.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.01976, allocations: 0.7723 MB / 289.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.0211, allocations: 0.9229 MB / 290.2 MB, free: 216 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.113/0.1341, allocations: 3.762 MB / 294 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007065/0.1412, allocations: 6.14 MB / 300.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.1451, allocations: 3.21 MB / 303.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.1478, allocations: 2.306 MB / 305.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008437/0.1486, allocations: 0.5873 MB / 306.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.1497, allocations: 0.8103 MB / 307.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.1502, allocations: 1.138 MB / 308.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.1515, allocations: 1.544 MB / 309.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.1542, allocations: 3.979 MB / 313.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1542, allocations: 1.219 kB / 313.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1542, allocations: 0 / 313.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.1543, allocations: 0 / 313.7 MB, free: 5.73 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.005382/0.1597, allocations: 5.287 MB / 319 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1597, allocations: 11.53 kB / 319 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.1638, allocations: 1.779 MB / 320.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.166, allocations: 2.177 MB / 323 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.1661, allocations: 313.3 kB / 323.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.1665, allocations: 412 kB / 323.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/0.1702, allocations: 2.502 MB / 326.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.1703, allocations: 8.766 kB / 326.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.1705, allocations: 169.7 kB / 326.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.1706, allocations: 176.6 kB / 326.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.1733, allocations: 1.541 MB / 328.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.1872, allocations: 15.71 MB / 343.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.1892, allocations: 1.536 MB / 345.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.1897, allocations: 419.7 kB / 345.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1898, allocations: 52.95 kB / 345.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1899, allocations: 50.33 kB / 345.8 MB, free: 5.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/0.1899, allocations: 0 / 345.8 MB, free: 5.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.00112/0.191, allocations: 0.7958 MB / 346.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.191, allocations: 60.41 kB / 346.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1923, allocations: 1.395 MB / 348.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1923, allocations: 41.7 kB / 348.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/0.1932, allocations: 1.953 MB / 350.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.1934, allocations: 384.9 kB / 350.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.1938, allocations: 0.5131 MB / 351 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.194, allocations: 0.5277 MB / 351.5 MB, free: 156 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.1945, allocations: 288.3 kB / 351.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.1956, allocations: 1.781 MB / 353.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.1972, allocations: 2.254 MB / 355.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.1972, allocations: 16 kB / 355.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001922/0.1992, allocations: 1.769 MB / 357.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1992, allocations: 20 kB / 357.6 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.1992, allocations: 32 kB / 357.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/0.1993, allocations: 48 kB / 357.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008944/0.2001, allocations: 0.521 MB / 358.2 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/0.2002, allocations: 72.94 kB / 358.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/0.2009, allocations: 290.3 kB / 358.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.201, allocations: 120 kB / 358.7 MB, free: 8.066 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.000603/0.2016, allocations: 308.9 kB / 359 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.2018, allocations: 166.3 kB / 359.1 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2028, allocations: 0.9392 MB / 360.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000581/0.2034, allocations: 0.5058 MB / 360.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2034, allocations: 0 / 360.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2034, allocations: 3.984 kB / 360.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.2096, allocations: 4.944 MB / 365.5 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.2096, allocations: 24 kB / 365.6 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.21, allocations: 237.5 kB / 365.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/0.21, allocations: 28.75 kB / 365.8 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.2101, allocations: 48 kB / 365.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.2101, allocations: 43.2 kB / 365.9 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/0.2101, allocations: 34.69 kB / 365.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2117, allocations: 1.92 MB / 367.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.212, allocations: 242.9 kB / 368.1 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.2121, allocations: 51.92 kB / 368.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2125, allocations: 71.97 kB / 368.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2126, allocations: 149.5 kB / 368.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.2127, allocations: 59.98 kB / 368.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006106/0.2133, allocations: 0.6288 MB / 369.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2133, allocations: 0 / 369.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2152, allocations: 0.8793 MB / 369.9 MB, free: 12.17 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.0002805/0.2155, allocations: 208.1 kB / 370.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.2168, allocations: 1.137 MB / 371.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.2168, allocations: 4 kB / 371.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.2172, allocations: 339 kB / 371.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2183, allocations: 356.8 kB / 372 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.225, allocations: 5.831 MB / 377.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/0.2258, allocations: 1.007 MB / 378.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.2268, allocations: 0.6639 MB / 379.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.2271, allocations: 120.5 kB / 379.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of SimCode: time 2.545e-06/0.2271, allocations: 0 / 379.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of Templates: time 0.02297/0.25, allocations: 16.84 MB / 396.4 MB, free: 1.824 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 -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.9677351019345224]