Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009569/0.001761, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006458/0.0006458, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.001837, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9145/0.9145, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1057/1.02, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.35e-05, allocations: 9.125 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006179/0.006192, allocations: 8.669 MB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.008978, allocations: 2.701 MB / 250.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.009412, allocations: 79.62 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.01263, allocations: 3.97 MB / 255 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01383, allocations: 0.9122 MB / 255.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.01469, allocations: 0.789 MB / 256.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.01706, allocations: 3.8 MB / 260.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005281/0.02234, allocations: 6.22 MB / 266.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.02492, allocations: 3.276 MB / 270 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.02699, allocations: 2.332 MB / 272.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007745/0.02777, allocations: 0.582 MB / 272.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008858/0.02865, allocations: 0.8004 MB / 273.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1114/0.14, allocations: 0.8942 MB / 274.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.143, allocations: 1.287 MB / 275.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.1476, allocations: 3.745 MB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.1477, allocations: 0.6562 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1477, allocations: 0 / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.1478, allocations: 0 / 279.6 MB, free: 10.41 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.007959/0.1558, allocations: 5.585 MB / 285.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1558, allocations: 9.656 kB / 285.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.1597, allocations: 1.686 MB / 286.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.1614, allocations: 1.197 MB / 288.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.1616, allocations: 313.3 kB / 288.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.162, allocations: 408.4 kB / 288.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.1651, allocations: 2.717 MB / 291.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.1651, allocations: 3.953 kB / 291.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.1654, allocations: 173.4 kB / 291.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1655, allocations: 175.9 kB / 291.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.1668, allocations: 1.057 MB / 292.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008732/0.1756, allocations: 12 MB / 304.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1769, allocations: 1.133 MB / 306 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.1773, allocations: 332.4 kB / 306.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.1774, allocations: 44.97 kB / 306.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1774, allocations: 47.03 kB / 306.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 2.444e-06/0.1774, allocations: 0 / 306.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0006039/0.178, allocations: 0.4945 MB / 307 MB, free: 13.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1781, allocations: 64.41 kB / 307 MB, free: 13.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.1787, allocations: 0.938 MB / 308 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.1788, allocations: 41.7 kB / 308 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.1794, allocations: 1.747 MB / 309.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.1795, allocations: 377.4 kB / 310.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.1798, allocations: 418.9 kB / 310.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.1799, allocations: 353.1 kB / 310.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1802, allocations: 291.2 kB / 311.2 MB, free: 9.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.1809, allocations: 1.195 MB / 312.3 MB, free: 8.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.182, allocations: 1.655 MB / 314 MB, free: 6.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.182, allocations: 8 kB / 314 MB, free: 6.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001234/0.1832, allocations: 1.317 MB / 315.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1833, allocations: 26.67 kB / 315.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.1833, allocations: 32 kB / 315.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.1833, allocations: 48 kB / 315.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.1843, allocations: 0.5599 MB / 316 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.393e-05/0.1843, allocations: 67.22 kB / 316.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.1849, allocations: 246.2 kB / 316.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.185, allocations: 95.98 kB / 316.4 MB, free: 4.305 MB / 282.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.0004343/0.1854, allocations: 269.7 kB / 316.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1855, allocations: 99.91 kB / 316.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.1863, allocations: 0.7342 MB / 317.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003147/0.1866, allocations: 320.5 kB / 317.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1866, allocations: 3.984 kB / 317.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1867, allocations: 3.984 kB / 317.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.1911, allocations: 3.888 MB / 321.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.1912, allocations: 24 kB / 321.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.1916, allocations: 224.5 kB / 321.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.1918, allocations: 181.1 kB / 322.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/0.1918, allocations: 28 kB / 322.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.1919, allocations: 40 kB / 322.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.1919, allocations: 39.42 kB / 322.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/0.1919, allocations: 46.23 kB / 322.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1932, allocations: 1.54 MB / 323.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1933, allocations: 55.92 kB / 323.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.1936, allocations: 36 kB / 323.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1937, allocations: 152.2 kB / 324 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.1938, allocations: 52.02 kB / 324.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003207/0.1941, allocations: 392.9 kB / 324.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1941, allocations: 0 / 324.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001752/0.1958, allocations: 0.8793 MB / 325.4 MB, free: 11.36 MB / 298.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.0002899/0.1961, allocations: 194.7 kB / 325.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.197, allocations: 0.932 MB / 326.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-05/0.197, allocations: 37.55 kB / 326.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.1975, allocations: 302 kB / 326.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.1985, allocations: 456.5 kB / 327.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.2173, allocations: 6.224 MB / 333.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.218, allocations: 0.7372 MB / 334.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005389/0.2185, allocations: 224.7 kB / 334.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.2189, allocations: 321.2 kB / 334.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.219, allocations: 0 / 334.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of Templates: time 0.02687/0.2458, allocations: 17.97 MB / 352.7 MB, free: 260 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8921244256198406]